Answer Section or Authority Section?

Mark_Andrews at isc.org Mark_Andrews at isc.org
Tue Feb 4 01:18:18 UTC 2003


> This may be a little off topic, but, if anyone knows the answer, I am
> sure they hang out here.
> 
> I have been through the archives and found a thread or two that touch on
> this subject, however, some clarification would be good.  
> 
> What I have been able to piece together is that the C root server
> [192.33.4.12] is a BIND9 server and responds with a *referral* to my NS
> query and the other roots are BIND8 and respond with *answers*.  Am I on
> the right track?

	Yes.  The next release of BIND 8 will return referrals
	unless it is both offering recursion *and* recursion is
	requested.  In otherwords it will lie less of the time.

	BIND 8 has a single database and is incapable of caching
	answers which would override glue records (NS/A/AAAA).

	BIND 9 has multiple databases and is capable of giving
	different answers depending upon whether recursion was
	available and requested or not.  In other words it depending
	apon how the query was framed it will return glue or it
	will return the answers from the relevent child zone even
	when it conflicts with the glue.

	Mark

> Thanks in advance,
> 
> 
> Dave...
> 
> >dig ns com @192.33.4.12 +norec
> 
> ; <<>> DiG 9.2.1 <<>> ns com @192.33.4.12 +norec
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41
> ;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 13, ADDITIONAL: 13
> 
> ;; QUESTION SECTION:
> ;com.                           IN      NS
> 
> ;; AUTHORITY SECTION:
> com.                    172800  IN      NS      A.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      G.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      H.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      C.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      I.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      B.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      D.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      L.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      F.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      J.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      K.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      E.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      M.GTLD-SERVERS.NET.
> 
> ;; ADDITIONAL SECTION:
> A.GTLD-SERVERS.NET.     172800  IN      A       192.5.6.30
> G.GTLD-SERVERS.NET.     172800  IN      A       192.42.93.30
> H.GTLD-SERVERS.NET.     172800  IN      A       192.54.112.30
> C.GTLD-SERVERS.NET.     172800  IN      A       192.26.92.30
> I.GTLD-SERVERS.NET.     172800  IN      A       192.43.172.30
> B.GTLD-SERVERS.NET.     172800  IN      A       192.33.14.30
> D.GTLD-SERVERS.NET.     172800  IN      A       192.31.80.30
> L.GTLD-SERVERS.NET.     172800  IN      A       192.41.162.30
> F.GTLD-SERVERS.NET.     172800  IN      A       192.35.51.30
> J.GTLD-SERVERS.NET.     172800  IN      A       192.48.79.30
> K.GTLD-SERVERS.NET.     172800  IN      A       192.52.178.30
> E.GTLD-SERVERS.NET.     172800  IN      A       192.12.94.30
> M.GTLD-SERVERS.NET.     172800  IN      A       192.55.83.30
> 
> ;; Query time: 660 msec
> ;; SERVER: 192.33.4.12#53(192.33.4.12)
> ;; WHEN: Mon Feb 03 07:01:53 2003
> ;; MSG SIZE  rcvd: 453
> 
> 
> >dig ns com @192.112.36.4 +norec
> 
> ; <<>> DiG 9.2.1 <<>> ns com @192.112.36.4 +norec
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 41
> ;; flags: qr; QUERY: 1, ANSWER: 13, AUTHORITY: 0, ADDITIONAL: 13
> 
> ;; QUESTION SECTION:
> ;com.                           IN      NS
> 
> ;; ANSWER SECTION:
> com.                    172800  IN      NS      D.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      L.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      F.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      J.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      K.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      E.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      M.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      A.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      G.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      H.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      C.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      I.GTLD-SERVERS.NET.
> com.                    172800  IN      NS      B.GTLD-SERVERS.NET.
> 
> ;; ADDITIONAL SECTION:
> D.GTLD-SERVERS.NET.     172800  IN      A       192.31.80.30
> L.GTLD-SERVERS.NET.     172800  IN      A       192.41.162.30
> F.GTLD-SERVERS.NET.     172800  IN      A       192.35.51.30
> J.GTLD-SERVERS.NET.     172800  IN      A       192.48.79.30
> K.GTLD-SERVERS.NET.     172800  IN      A       192.52.178.30
> E.GTLD-SERVERS.NET.     172800  IN      A       192.12.94.30
> M.GTLD-SERVERS.NET.     172800  IN      A       192.55.83.30
> A.GTLD-SERVERS.NET.     172800  IN      A       192.5.6.30
> G.GTLD-SERVERS.NET.     172800  IN      A       192.42.93.30
> H.GTLD-SERVERS.NET.     172800  IN      A       192.54.112.30
> C.GTLD-SERVERS.NET.     172800  IN      A       192.26.92.30
> I.GTLD-SERVERS.NET.     172800  IN      A       192.43.172.30
> B.GTLD-SERVERS.NET.     172800  IN      A       192.33.14.30
> 
> ;; Query time: 991 msec
> ;; SERVER: 192.112.36.4#53(192.112.36.4)
> ;; WHEN: Mon Feb 03 07:02:27 2003
> ;; MSG SIZE  rcvd: 453
> 
> 
--
Mark Andrews, Internet Software Consortium
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: Mark.Andrews at isc.org


More information about the bind-users mailing list