0

I haven't setup BIND before but am quite knowledgable with DNS (I'm from the Windows world). I'm having a reverse DNS issue. Forward DNS is working fine for the zone int.linuxlab

Here are the relevant lines from named.conf

zone "253.168.192.in-addr.arpa" IN {
    type master;
    file "253.168.192.in-addr.arpa";
    allow-update { 192.168.253.0/24 ;};
};

and here is the configuration file 253.168.192.in-addr.arpa

     $TTL 3600 
@   IN SOA  daniinf.int.linuxlab hostmaster.daniinf.int.linuxlab. (
                20160402; serial
                3600    ; refresh
                    1800    ; retry
                1W  ; expire
                3H )    ; minimum
IN  NS  daniinf.int.linuxlab.
;   IN  A   daniinf 192.168.253.5 
$ORIGIN 253.168.192.in-addr.arpa.
5   IN  PTR     daniinf.int.linuxlab.
6   IN  PTR     daniswalker.int.linuxlab.

not sure what I'm doing wrong on this, can someone help?

Thanks a lot

  • 1
    You don't really describe the problem. What is/isn't happening? Anything relevant in the logs? What does `dig @yournameserver -x 192.168.253.5` say? What does `named-checkconf -zj` say? – Håkan Lindqvist Apr 02 '16 at 23:55
  • There are some whitespace issues in the zone data, most importantly the line starting with "IN NS ..." is problematic and should probably be " IN NS ...", but it's hard to know if that is just something introduced when posting here or if your file actually has that problem. – Håkan Lindqvist Apr 02 '16 at 23:58
  • Wow thanks a lot for those useful commands. My system seemed to have crashed this morning, but everything seems to be working now. Maybe I just needed to restart the entire server or bind server instead of doing a reload. – Dani Sarfati Apr 03 '16 at 15:09

0 Answers0