DNS zone file wrongly overwritten wit DHCP update
Hi
I hope i have chosen the correct forum . I' an using Centos 6.8 and i am testing DDns en it works file until i reboot the server . After the reboot i get following error : Starting named: Error in named configuration: zone nw.cvotest.local/IN: loaded serial 37 zone 5.17.172.in-addr.arpa/IN: loaded serial 1 /var/named/reverse4.cvotest:3: ignoring out-of-zone data (.) zone 4.17.172.in-addr.arpa/IN: has 0 SOA records zone 4.17.172.in-addr.arpa/IN: has no NS records zone 4.17.172.in-addr.arpa/IN: not loaded due to errors. _default/4.17.172.in-addr.arpa/IN: bad zone /var/named/reverse4.cvotest:3: ignoring out-of-zone data (.) /var/named/reverse4.cvotest:14: ignoring out-of-zone data (100.4.17.172.in-addr.arpa) /var/named/reverse4.cvotest:15: ignoring out-of-zone data (200.4.17.172.in-addr.arpa) /var/named/reverse4.cvotest:17: ignoring out-of-zone data (50.4.17.172.in-addr.arpa) /var/named/reverse4.cvotest:18: ignoring out-of-zone data (51.4.17.172.in-addr.arpa) zone 6.17.172.in-addr.arpa/IN: has 0 SOA records zone 6.17.172.in-addr.arpa/IN: has no NS records zone 6.17.172.in-addr.arpa/IN: not loaded due to errors. _default/6.17.172.in-addr.arpa/IN: bad zone I found out that the reverse zone file is overwritten bij the DHCP update process the original file was $TTL 3H @ IN SOA lserver.nw.cvotest.local. root.nw.cvotest.local ( 1 ; serial 20 ; refresh 1800 ; retry 604800 ; expire 3H ) ; minimum ; Name Servers @ IN NS lserver.nw.cvotest.local. @ IN NS dmz.nw.cvotest.local. @ IN NS Wserver.nw.cvotest.local. ;pointers 100 IN PTR dmz 200 IN PTR wserver after the DDns update i get: $ORIGIN . $TTL 10800 ; 3 hours @ IN SOA lserver.nw.cvotest.local root.nw.cvotest.local. ( 7 ; serial 20 ; refresh (20 seconds) 1800 ; retry (30 minutes) 604800 ; expire (1 week) 10800 ; minimum (3 hours) ) NS lserver.nw.cvotest.local. NS dmz.nw.cvotest.local. NS Wserver.nw.cvotest.local. $ORIGIN 4.17.172.in-addr.arpa. 100 PTR dmz 200 PTR wserver $TTL 300 ; 5 minutes 50 PTR dmzclient 51 PTR Wclient10.nw.cvotest.local. I have 2 workstation's with get the correct ip adress 172.17.4.50 and 51(given by the DHCP server, this is the same server) and NSlookup and ping works fine until the reboot . If i remove the first $ORIGIN everthin g is OK until the next update . Thanks if anyone can give me a clue on how to get rid this . Sorry for my english , this is not my native language. |
All times are GMT -5. The time now is 06:24 AM. |