From: spirillen <44526987+spirillen@users.noreply.github.com> Date: Thu, 13 Dec 2018 15:38:03 +0000 (+0100) Subject: add +nocookie to the dig examples X-Git-Tag: rec-4.2.0-alpha1~48^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=221b962933fb9881965006c3f3423ad1c8262aef;p=pdns add +nocookie to the dig examples added the +nocookie to the dig examples. Reason, as you are setting up new software your mind is full, and who think of dig is sending DNS cookies? So for the quick copy/paste the cache test should also be possible with no errors. --- diff --git a/pdns/dnsdistdist/docs/quickstart.rst b/pdns/dnsdistdist/docs/quickstart.rst index 2facb5c86..78b812673 100644 --- a/pdns/dnsdistdist/docs/quickstart.rst +++ b/pdns/dnsdistdist/docs/quickstart.rst @@ -39,7 +39,7 @@ Now run dnsdist again, reading this configuration:: You can now send queries to port 5300, and get answers:: - $ dig -t aaaa powerdns.com @127.0.0.1 -p 5300 +short + $ dig -t aaaa powerdns.com @127.0.0.1 -p 5300 +short +nocookie 2001:888:2000:1d::2 Note that dnsdist dropped us in a prompt above, where we can get some statistics:: @@ -59,7 +59,7 @@ Here we also see our configuration. 5 downstream servers have been configured, o The final server has no limit, which we can easily test:: - $ for a in {0..1000}; do dig powerdns.com @127.0.0.1 -p 5300 +noall > /dev/null; done + $ for a in {0..1000}; do dig powerdns.com @127.0.0.1 -p 5300 +noall +nocookie > /dev/null; done ::