On Sat, 26 Jan 2002 05:33:31 -0500
Bill Day <[EMAIL PROTECTED]> spewed into the bitstream:

> <GREAT BIGGIE snippage>
> 
> [root@linuxbox /root]# dig -x 127.0.0.1 SOA
>  
> ; <<>> DiG 9.2.0 <<>> -x 127.0.0.1 SOA
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 35519
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>  
> ;; QUESTION SECTION:
> ;1.0.0.127.in-addr.arpa.                IN      SOA
>  
> ;; AUTHORITY SECTION:
> 0.0.127.in-addr.arpa.   10800   IN      SOA     b.root-servers.net. 
> root.b.root-servers.net. 19970624 3600000 3600 3900000 3600000
>  
> ;; Query time: 2287 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Sat Jan 26 05:30:53 2002
> ;; MSG SIZE  rcvd: 99
>  
> [root@linuxbox /root]# dig -x 192.168.1 SOA
>  
> ; <<>> DiG 9.2.0 <<>> -x 192.168.1 SOA
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 7018
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
>  
> ;; QUESTION SECTION:
> ;1.168.192.in-addr.arpa.                IN      SOA
>  
> ;; AUTHORITY SECTION:
> 168.192.in-addr.arpa.   0       IN      SOA     blackhole.iana.org. 
> crain.icann.org. 19971502 10800 900 604800 86400
>  
> ;; Query time: 558 msec
> ;; SERVER: 127.0.0.1#53(127.0.0.1)
> ;; WHEN: Sat Jan 26 05:31:02 2002
> ;; MSG SIZE  rcvd: 106
> 
> 
> Also these are in tail f-f /var../messages I guess this mean that it is
> able to query in reverse...?
> Jan 26 05:30:50 linuxbox named[23782]: Jan 26 05:30:50.966queries: info:
> client 127.0.0.1#2837: query: 1.0.0.127.in-addr.arpa IN SOA
> Jan 26 05:31:02 linuxbox named[23782]: Jan 26 05:31:02.275queries: info:
> client 127.0.0.1#2837: query: 1.168.192.in-addr.arpa IN SOA
> 

Based on the above, I'd say your /etc/named.conf has entries for reverse,
but you haven't created the reverse zone files.  You need reverse zone
files for every IP range you have a forward in.  In your case, you need
zone files for 127.0.0.0/8 and 192.168.1.0/24.  

Difference between a forward and reverse zone: the reverse zone uses PTR
RRs to point to A RRs.  Create reverse zone files, make sure
/etc/named.conf point to the correct file names (the name of the zone file
is unimportant).

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
                -- Nemesis Racing Team motto
Internet (H323) phone: 206.28.187.30
_______________________________________________
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.

Reply via email to