Skip to content

Instantly share code, notes, and snippets.

@sque
Last active August 29, 2015 14:17
Show Gist options
  • Save sque/25b3cf5d7987495acb71 to your computer and use it in GitHub Desktop.
Save sque/25b3cf5d7987495acb71 to your computer and use it in GitHub Desktop.
example static-stub config
zone "her.wn" IN {
type static-stub;
server-addresses {
10.176.7.1;
10.176.3.1;
10.176.33.1;
};
zone-statistics yes;
};
# dig -t NS her.wn @localhost
; <<>> DiG 9.9.4 <<>> -t NS her.wn @localhost
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 60665
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;her.wn. IN NS
;; Query time: 87 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Mar 15 21:24:29 EET 2015
;; MSG SIZE rcvd: 35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment