From 221b962933fb9881965006c3f3423ad1c8262aef Mon Sep 17 00:00:00 2001 From: spirillen <44526987+spirillen@users.noreply.github.com> Date: Thu, 13 Dec 2018 16:38:03 +0100 Subject: [PATCH] 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. --- pdns/dnsdistdist/docs/quickstart.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/dnsdistdist/docs/quickstart.rst b/pdns/dnsdistdist/docs/quickstart.rst index 2facb5c86c..78b8126735 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 :: -- 2.47.2