Two RFC2317 Questions

Barry Margolin barmar at genuity.net
Wed Apr 10 18:39:09 UTC 2002


In article <a9206p$9ma at pub3.rc.vix.com>,
Barry Finkel  <b19141 at achilles.ctd.anl.gov> wrote:
>    I query the CNAME, and I get "NOERROR, ANSWER: 0" in response.
>    Is there something else wrong with my configuration?

>britaine% dig 17.0.241.60.216.in-addr.arpa.

You forgot to specify the record type in this query.

>; <<>> DiG 8.3 <<>> 17.0.241.60.216.in-addr.arpa. 
>;; res options: init recurs defnam dnsrch
>;; got answer:
>;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
>;; flags: qr aa rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>;; QUERY SECTION:
>;;      17.0.241.60.216.in-addr.arpa, type = A, class = IN
                                       ^^^^^^^^

Notice that dig defaults to querying for an A record.

When I specify PTR I get the expected result:

% dig -x 216.60.241.0.17 ptr

; <<>> DiG 8.3 <<>> -x ptr 
;; res options: init recurs defnam dnsrch
;; got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 8
;; QUERY SECTION:
;;	17.0.241.60.216.in-addr.arpa, type = PTR, class = IN

;; ANSWER SECTION:
17.0.241.60.216.in-addr.arpa.  23h59m21s IN PTR  csgax.able.anl.gov.

;; AUTHORITY SECTION:
0.241.60.216.in-addr.arpa.  1h59m20s IN NS  dns1.anl.gov.
0.241.60.216.in-addr.arpa.  1h59m20s IN NS  dns2.anl.gov.
0.241.60.216.in-addr.arpa.  1h59m20s IN NS  ns2.es.net.
0.241.60.216.in-addr.arpa.  1h59m20s IN NS  nsx.lbl.gov.
0.241.60.216.in-addr.arpa.  1h59m20s IN NS  ns1.swbell.net.
0.241.60.216.in-addr.arpa.  1h59m20s IN NS  ns2.swbell.net.

;; ADDITIONAL SECTION:
dns1.anl.gov.		22h9m41s IN A	130.202.20.5
dns1.anl.gov.		22h9m41s IN A	146.137.64.5
dns2.anl.gov.		22h9m41s IN A	146.139.254.3
dns2.anl.gov.		22h9m41s IN A	130.202.20.3
ns2.es.net.		18h48m47s IN A	134.55.6.130
nsx.lbl.gov.		11h59m21s IN A	131.243.64.3
ns1.swbell.net.		1d6h31m46s IN A  151.164.1.1
ns2.swbell.net.		1d6h31m46s IN A  151.164.1.7

;; Total query time: 30 msec
;; FROM: tools.genuity.com to SERVER: default -- 4.2.2.1
;; WHEN: Wed Apr 10 14:38:11 2002
;; MSG SIZE  sent: 46  rcvd: 333

-- 
Barry Margolin, barmar at genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list