[dns-operations] NZRS asks for help testing a DNS feature

Stephane Bortzmeyer bortzmeyer at nic.fr
Tue May 25 14:54:30 UTC 2010


On Tue, May 25, 2010 at 09:00:07AM +1200,
 Sebastian Castro <sebastian at nzrs.net.nz> wrote 
 a message of 28 lines which said:

> Although the DNAME record has been standard for more than 10 years,
> we want to make sure

May be a part of the problem is that some corner cases are not
specified completely. For instance, when the synthetized CNAME goes
to a non-existing domain, what does a recursive resolver send?
NXDOMAIN? NOERROR? BIND and Unbound behaves differently:

% dig ANY doesnotexistatall.xn--mori-qsa.dns.net.nz

; <<>> DiG 9.5.1-P3 <<>> ANY doesnotexistatall.xn--mori-qsa.dns.net.nz
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 54791
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;doesnotexistatall.xn--mori-qsa.dns.net.nz. IN ANY

;; ANSWER SECTION:
xn--mori-qsa.dns.net.nz. 86400	IN	DNAME	maori.dns.net.nz.
doesnotexistatall.xn--mori-qsa.dns.net.nz. 0 IN	CNAME doesnotexistatall.maori.dns.net.nz.

;; AUTHORITY SECTION:
maori.dns.net.nz.	3600	IN	SOA	loopback.dns.net.nz. soa.nzrs.net.nz. 2010051262 3600 1200 604800 3600

;; Query time: 622 msec
;; SERVER: ::1#53(::1)
;; WHEN: Tue May 25 16:53:51 2010
;; MSG SIZE  rcvd: 181


% dig ANY doesnotexistatall.xn--mori-qsa.dns.net.nz

; <<>> DiG 9.7.0-P1 <<>> ANY doesnotexistatall.xn--mori-qsa.dns.net.nz
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 425
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 1, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;doesnotexistatall.xn--mori-qsa.dns.net.nz. IN ANY

;; ANSWER SECTION:
xn--mori-qsa.dns.net.nz. 74662  IN      DNAME   maori.dns.net.nz.
doesnotexistatall.xn--mori-qsa.dns.net.nz. 0 IN CNAME doesnotexistatall.maori.dns.net.nz.

;; AUTHORITY SECTION:
maori.dns.net.nz.       3600    IN      SOA     loopback.dns.net.nz. soa.nzrs.net.nz. 2010051262 3600 1200 604800 3600

;; Query time: 306 msec
;; SERVER: 192.134.7.248#53(192.134.7.248)
;; WHEN: Tue May 25 16:54:16 2010
;; MSG SIZE  rcvd: 186



More information about the dns-operations mailing list