Two RFC2317 Questions

Will Yardley william-nospam-newdream-net at no.spam.veggiechinese.net
Thu Apr 11 03:30:38 UTC 2002


In article <a92u28$akt at pub3.rc.vix.com>, Andris Kalnozols wrote:
>> In article <a921bg$9o1 at pub3.rc.vix.com>, Barry Margolin wrote:
>>  
>> > Notice that dig defaults to querying for an A record.

>> bind9 dig will follow the CNAME:
>> (9.3 snapshot doesn't even show the cname, although i think 9.2 dig
>> shows both).
>> 
>> jazz% dig -x 216.60.241.0.17
>> 
>> ;; ANSWER SECTION:
>> 17.0.241.60.216.in-addr.arpa. 86400 IN  PTR     csgax.able.anl.gov.
 
> There's no need to resolve the CNAME when directly querying the
> RFC2317-delegated domain.  Querying the parent domain does show
> the CNAME in the response:

d'oh - wasn't paying attention.  9.3 dig does do the same thing as 9.2
dig (and again, specifying type 'ptr' isn't necessary as it is with
8.x dig).

jazz% dig -x 216.60.241.17

; <<>> DiG 9.3.0s20020328 <<>> -x 216.60.241.17
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 6793
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 6, ADDITIONAL: 0

;; QUESTION SECTION:
;17.241.60.216.in-addr.arpa.    IN      PTR

;; ANSWER SECTION:
17.241.60.216.in-addr.arpa. 7200 IN     CNAME   17.0.241.60.216.in-addr.arpa.
17.0.241.60.216.in-addr.arpa. 81588 IN  PTR     csgax.able.anl.gov.

-- 
No copies, please.
To reply privately, simply reply; don't remove anything.


More information about the bind-users mailing list