Two RFC2317 Questions
phn at icke-reklam.ipsec.nu
phn at icke-reklam.ipsec.nu
Wed Apr 10 18:35:03 UTC 2002
Barry Finkel <b19141 at achilles.ctd.anl.gov> wrote:
> I have removed the "/25" from my zone definition, as others suggested.
> and I added the two swbell nameservers. Here are my named.conf
> file and reverse zone:
Looks good :
> dig -x 216.60.241.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: 2, AUTHORITY: 6, ADDITIONAL: 8
;; QUERY SECTION:
;; 17.241.60.216.in-addr.arpa, type = PTR, class = IN
;; ANSWER SECTION:
17.241.60.216.in-addr.arpa. 1h59m51s IN CNAME 17.0.241.60.216.in-addr.arpa.
17.0.241.60.216.in-addr.arpa. 1D IN PTR csgax.able.anl.gov.
;; AUTHORITY SECTION:
0.241.60.216.in-addr.arpa. 1D IN NS dns1.anl.gov.
0.241.60.216.in-addr.arpa. 1D IN NS dns2.anl.gov.
0.241.60.216.in-addr.arpa. 1D IN NS ns1.swbell.net.
0.241.60.216.in-addr.arpa. 1D IN NS ns2.es.net.
0.241.60.216.in-addr.arpa. 1D IN NS ns2.swbell.net.
0.241.60.216.in-addr.arpa. 1D IN NS nsx.lbl.gov.
;; ADDITIONAL SECTION:
ns1.swbell.net. 1d23h59m49s IN A 151.164.1.1
ns2.es.net. 1d23h59m59s IN A 134.55.6.130
ns2.swbell.net. 1d23h59m49s IN A 151.164.1.7
nsx.lbl.gov. 23h59m59s IN A 131.243.64.3
dns1.anl.gov. 23h59m59s IN A 146.137.64.5
dns1.anl.gov. 23h59m59s IN A 130.202.20.5
dns2.anl.gov. 23h59m59s IN A 146.139.254.3
dns2.anl.gov. 23h59m59s IN A 130.202.20.3
> -----
> zone "0.241.60.216.in-addr.arpa." {
> type master;
> file "able.rev";
> };
> -----
> $TTL 86400 ; default time to live is 1 day
> $ORIGIN 0.241.60.216.in-addr.arpa.
> ;$INCLUDE named.local
> ; named.soa
> ; define start of authority, name servers and loopback
> ; As per BIND 4.9 operations guide, serial number format is now
> ; "YYYYMMDDNN" where NN is the daily sequence number.
> ;
> @ IN SOA dns0.anl.gov. hostmaster.anl.gov. (
> 2002041001 ; Serial
> 7200 ; Refresh - 2 hours
> 3600 ; Retry - 1 hour
> 1209600 ; Expire - 14 days
> 604800 ) ; Neg. cache - 7 days
> IN NS dns1.anl.gov.
> IN NS dns2.anl.gov.
> IN NS nsx.lbl.gov.
> IN NS ns2.es.net.
> IN NS ns1.swbell.net.
> IN NS ns2.swbell.net.
> ;
> 17 IN PTR csgax.able.anl.gov.
> <<I have omitted the rest of the zone.>>
> -----
> For the DNS registration 216.60.241.17 <===> csgax.able.anl.gov.
> I can query the nodename; I get a the IP address in response.
> 216.60.241.17
> I query the IP address; I get the CNAME in response.
> 17.0.241.60.216.in-addr.arpa.
> I query the CNAME, and I get "NOERROR, ANSWER: 0" in response.
>
Is there something else wrong with my configuration?
No, you will have to explicitly ask for 'PTR'
> britaine% dig csgax.able.anl.gov.
> ; <<>> DiG 8.3 <<>> csgax.able.anl.gov.
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 7
> ;; QUERY SECTION:
> ;; csgax.able.anl.gov, type = A, class = IN
> ;; ANSWER SECTION:
> csgax.able.anl.gov. 1D IN A 216.60.241.17
> ;; AUTHORITY SECTION:
> able.anl.gov. 1D IN NS dns1.anl.gov.
> able.anl.gov. 1D IN NS dns2.anl.gov.
> able.anl.gov. 1D IN NS nsx.lbl.gov.
> able.anl.gov. 1D IN NS ns2.es.net.
> ;; ADDITIONAL SECTION:
> dns1.anl.gov. 1D IN A 130.202.20.5
> dns1.anl.gov. 1D IN A 146.139.254.5
> dns1.anl.gov. 1D IN A 146.137.64.5
> dns2.anl.gov. 1D IN A 130.202.20.3
> dns2.anl.gov. 1D IN A 146.139.254.3
> nsx.lbl.gov. 6h22m7s IN A 131.243.64.3
> ns2.es.net. 18h22m2s IN A 134.55.6.130
> ;; Total query time: 6 msec
> ;; FROM: britaine.ctd.anl.gov to SERVER: default -- 146.139.254.5
> ;; WHEN: Wed Apr 10 13:06:56 2002
> ;; MSG SIZE sent: 36 rcvd: 248
> britaine%
> --------
> britaine% dig -x 216.60.241.17
> ; <<>> DiG 8.3 <<>> -x
> ;; res options: init recurs defnam dnsrch
> ;; got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4
> ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2
> ;; QUERY SECTION:
> ;; 17.241.60.216.in-addr.arpa, type = ANY, class = IN
> ;; ANSWER SECTION:
> 17.241.60.216.in-addr.arpa. 2H IN CNAME 17.0.241.60.216.in-addr.arpa.
> ;; AUTHORITY SECTION:
> 241.60.216.in-addr.arpa. 2H IN NS ns1.swbell.net.
> 241.60.216.in-addr.arpa. 2H IN NS ns2.swbell.net.
> ;; ADDITIONAL SECTION:
> ns1.swbell.net. 2h38m48s IN A 151.164.1.1
> ns2.swbell.net. 14h50m39s IN A 151.164.1.7
> ;; Total query time: 163 msec
> ;; FROM: britaine.ctd.anl.gov to SERVER: default -- 146.139.254.5
> ;; WHEN: Wed Apr 10 13:07:22 2002
> ;; MSG SIZE sent: 44 rcvd: 167
> britaine%
> --------
> britaine% dig 17.0.241.60.216.in-addr.arpa.
> ; <<>> 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
> ;; AUTHORITY SECTION:
> 0.241.60.216.in-addr.arpa. 1W IN SOA dns0.anl.gov. hostmaster.anl.gov. (
> 2002041001 ; serial
> 2H ; refresh
> 1H ; retry
> 2W ; expiry
> 1W ) ; minimum
> ;; Total query time: 3 msec
> ;; FROM: britaine.ctd.anl.gov to SERVER: default -- 146.139.254.5
> ;; WHEN: Wed Apr 10 13:07:58 2002
> ;; MSG SIZE sent: 46 rcvd: 105
> britaine%
> --------
> ----------------------------------------------------------------------
> Barry S. Finkel
> Electronics and Computing Technologies Division
> Argonne National Laboratory Phone: +1 (630) 252-7277
> 9700 South Cass Avenue Facsimile:+1 (630) 252-4601
> Building 222, Room D209 Internet: BSFinkel at anl.gov
> Argonne, IL 60439-4828 IBMMAIL: I1004994
--
Peter Håkanson
IPSec Sverige (At the Riverside of Gothenburg, home of Volvo)
Sorry about my e-mail address, but i'm trying to keep spam out.
Remove "icke-reklam" and it works.
More information about the bind-users
mailing list