From 7419c65a94d5d0e3e72111d275db64708a676abb Mon Sep 17 00:00:00 2001 From: Mark Zealey Date: Mon, 19 Sep 2016 18:01:00 +0300 Subject: [PATCH] Add doc about the $ feature of wipe-domain --- docs/markdown/recursor/running.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/markdown/recursor/running.md b/docs/markdown/recursor/running.md index d7dd8d0194..81b0b0094a 100644 --- a/docs/markdown/recursor/running.md +++ b/docs/markdown/recursor/running.md @@ -87,6 +87,8 @@ Available after 3.6.1, report currently running version. ### `wipe-cache domain1. [domain2. ..]` Wipe entries from the cache. This is useful if, for example, an important server has a new IP address, but the TTL has not yet expired. Multiple domain names can be passed. For versions before 3.1, you must terminate a domain with a `.`! So to wipe powerdns.org, issue `rec_control wipe-cache powerdns.org.`. For later versions, the dot is optional. +To wipe all subdomain entries, append a $ at the end for example `powerdns.com$` would wipe that domain as well as `doc.powerdns.com` etc. + Note that deletion is exact, wiping `com.` will leave `www.powerdns.com.` untouched! **Warning**: As of 3.1.7, this command also wipes the negative query cache for the specified domain. -- 2.47.2