LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS
User Name
Password
CentOS This forum is for the discussion of CentOS Linux. Note: This forum does not have any official participation.

Notices


Reply
  Search this Thread
Old 10-13-2016, 01:03 PM   #1
pytagoras
LQ Newbie
 
Registered: Oct 2016
Posts: 1

Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I find file zone in the slave zone to the do a transfer of zone from Windows Server 2012 as master dns and CentOS as slave DNS. To learn Linux - Newbie 1 09-02-2016 09:36 AM
Which zone bind dns work either in forward zone are reverse zone sanjay87 Linux - Server 2 06-05-2012 04:21 AM
"Ignoring out-of-zone data" errors with my DNS Zone file zyzzogeton Linux - Networking 2 12-17-2009 08:51 AM
Dns Problem Loading The Zone File Error(zone File Not Found) ramineni Linux - Newbie 1 09-14-2008 08:36 AM
Dyn. update of DNS zone in BIND 9.2.1 on RH8.0? Tom Bombadil Linux - Networking 0 03-11-2004 10:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > CentOS

All times are GMT -5. The time now is 01:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration