Hi everyone,

I've been tearing my hair out about this one. I run a number of dedicated servers and have common DNS for most of the domains on them. I have two nameservers which reside in 66.241.137.x Recently I went back to my isp for some more IPs and was allocated some in 69.77.167.x I set up my dns zones for the new domains as normal, and forward resolution works perfectly. however reverse resolution fails for all these IPs. The question is how can I get djbdns to reverse resolve addresses from more than one range? do I have to set up my name servers as bridges ie have IP addresses in the classes that they serve as I would rather not if at all possible.

a snippet from my data file follows:

Code:
##########################################
# ============ msdo2.co.uk ============= #
##########################################
# Name server records for domain
# The format used here does NOT create A records but does NS & SOA
.msdo2.co.uk::ns1.msdo.co.uk
.msdo2.co.uk::ns2.msdo.co.uk

# Mail exchanger data for domain
@msdo2.co.uk:69.77.167.123:smtp01.msdo2.co.uk.:10:1800

# Reverse DNS PTR records
^123.167.77.69.in-addr.arpa:smtp01.msdo2.co.uk.:1800

+msdo2.co.uk:69.77.167.123:1800
+ftp.msdo2.co.uk:69.77.167.123:86400
+smtp1.msdo2.co.uk:69.77.167.123:1800
+www.msdo2.co.uk:69.77.167.123:1800
...
dig @66.241.137.179 www.msdo2.co.uk produces:

Code:
; <<>> DiG 9.3.3rc2 <<>> @66.241.137.179 www.msdo2.co.uk
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20214
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 4

;; QUESTION SECTION:
;www.msdo2.co.uk.               IN      A

;; ANSWER SECTION:
www.msdo2.co.uk.        1800    IN      A       69.77.167.123

;; AUTHORITY SECTION:
msdo2.co.uk.            259200  IN      NS      ns1.msdo.co.uk.
msdo2.co.uk.            259200  IN      NS      ns2.msdo.co.uk.

;; ADDITIONAL SECTION:
ns1.msdo.co.uk.         259200  IN      A       66.241.137.179
ns2.msdo.co.uk.         259200  IN      A       66.241.137.173

;; Query time: 1 msec
;; SERVER: 66.241.137.179#53(66.241.137.179)
;; WHEN: Fri Jul  4 18:38:48 2008
;; MSG SIZE  rcvd: 154
and logs

Code:
2008-07-04 18:36:21.983837500 42f189b3:9cb0:b54d + 0001 www.msdo.co.uk
which is correct, but
Code:
dig @66.241.137.179 -x 69.77.167.123
produces:

Code:
; <<>> DiG 9.3.3rc2 <<>> @66.241.137.179 -x 69.77.167.123
; (1 server found)
;; global options:  printcmd
;; connection timed out; no servers could be reached
and logs:

Code:
2008-07-04 18:40:00.016735500 42f189b3:9cb3:2118 - 000c 123.167.77.69.in-addr.arpa
2008-07-04 18:40:05.019052500 42f189b3:9cb3:2118 - 000c 123.167.77.69.in-addr.arpa
2008-07-04 18:40:10.021319500 42f189b3:9cb3:2118 - 000c 123.167.77.69.in-addr.arpa
the '-' means fail and 000c means unable to find answer. I'm now totally confused and can't find any information on this.

Any help would be greatfully received.

thanks in advance,

Fin