From: Mark Zealey Date: Mon, 19 Sep 2016 15:01:00 +0000 (+0300) Subject: Add doc about the $ feature of wipe-domain X-Git-Tag: dnsdist-1.1.0-beta2~120^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4487%2Fhead;p=thirdparty%2Fpdns.git Add doc about the $ feature of wipe-domain --- 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.