Quote:
Originally Posted by bathory
Did you remove the "check-names ignore;" from named.conf?
The fact is that your bind version does not like the "/" in the zone name, but should not complain using the option above. I don't have this problem using 9.6.0-P1 with my reverse zone 0/28.x.x.x and in fact I don't recall this behavior the last 3ys using different bind versions.
Contact again your ISP and ask him if you can use just 113.xx.xx.xx.in-addr.arpa for the zone name. If you can, then do the necessary changes in named.conf and in db.xx.xx.xx and try again.
Or you can upgrade your bind version and see if it works.
Another thing to note is that the response for the reverse lookup is from 10.0.0.1 and not from localhost, assuming you ran the 2 nslookups from the same box. Use dig, so you can control the name server to use:
Code:
dig mail.mydomain.com @127.0.0.1
dig -x 118.xx.xx.xx @127.0.0.1
|
I didn't remove the "check-names" in the named.conf file is still there:
zone "113/29.xx.xx.xxx.in-addr.arpa"{
notify no;
type master;
check-names ignore;
file "/etc/bind/db.118.xx.xx.xxx";
I did the tests requested:
mail:~# dig @mail.mydomain.com 11-xxx.xx.xx.118.in-addr.arpa ns
; <<>> DiG 9.3.4-P1.1 <<>> @mail.mydomain.com 11-xxx.xx.xx.118.in-addr.arpa ns
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 11817
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;11-xxx.xx.xx.118.in-addr.arpa. IN NS
;; AUTHORITY SECTION:
xx.xx.xxx.in-addr.arpa. 9350 IN SOA ns4.telemar.net.br. root.ns4.telemar.net.br. 2008062401 21600 3600 1209600 432000
;; Query time: 0 msec
;; SERVER: xxx.xx.xx.118#53(xxx.xx.xx.118)
;; WHEN: Tue Apr 7 11:06:13 2009
;; MSG SIZE rcvd: 106
===========================================================================
mail:~# dig mail.mydomain.com @127.0.0.1
; <<>> DiG 9.3.4-P1.1 <<>> mail.mydomain.com @127.0.0.1
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19129
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;mail.mydomain.com. IN A
;; ANSWER SECTION:
mail.mydomain.com. 86400 IN A xxx.xx.xx.118
;; AUTHORITY SECTION:
mydomain.com. 86400 IN NS mail.mydomain.com.
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Apr 7 11:06:20 2009
;; MSG SIZE rcvd: 69
======================================================================
mail:~# dig -x xxx.xx.xx.118 @127.0.0.1
; <<>> DiG 9.3.4-P1.1 <<>> -x xxx.xx.xx.118 @127.0.0.1
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51534
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3
;; QUESTION SECTION:
;xxx.xx.xx.118.in-addr.arpa. IN PTR
;; ANSWER SECTION:
xxx.xx.xx.118.in-addr.arpa. 3522 IN PTR i118-xx-xx-xxx.s10.a044.ap.plala.or.jp.
;; AUTHORITY SECTION:
18.17.118.in-addr.arpa. 3522 IN NS ns-tk062.ocn.ad.jp.
18.17.118.in-addr.arpa. 3522 IN NS dns-cz1.plala.or.jp.
18.17.118.in-addr.arpa. 3522 IN NS dns-cz2.plala.or.jp.
;; ADDITIONAL SECTION:
dns-cz1.plala.or.jp. 86321 IN A 210.153.1.164
dns-cz2.plala.or.jp. 86321 IN A 60.43.59.164
ns-tk062.ocn.ad.jp. 86321 IN A 202.234.232.206
;; Query time: 0 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Apr 7 11:06:26 2009
;; MSG SIZE rcvd: 218