]> granicus.if.org Git - pdns/commitdiff
add +nocookie to the dig examples
authorspirillen <44526987+spirillen@users.noreply.github.com>
Thu, 13 Dec 2018 15:38:03 +0000 (16:38 +0100)
committerGitHub <noreply@github.com>
Thu, 13 Dec 2018 15:38:03 +0000 (16:38 +0100)
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

index 2facb5c86c1078aceea88dbbb3001f5ef2e524a6..78b8126735a2a71a3c929fb594d7ad51efd2e3bb 100644 (file)
@@ -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
 
 ::