LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-09-2015, 10:58 PM   #1
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Rep: Reputation: 54
Named DNS server in CentOS 6 keeps deleting zone files and crashing


Edited original post since I got it back up and running for now, but the underlying issue is still there.

Randomly, when I restart named it decides to delete all the information in /var/named/chroot/var/named. I then have to restore a backup. This time it failed as follows:

Code:
[root@server03 ~]# service named restart
Stopping named:                                            [  OK  ]
Starting named: 
Error in named configuration:
zone localhost.localdomain/IN: loaded serial 0
zone localhost/IN: loaded serial 0
zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 0
zone 1.0.0.127.in-addr.arpa/IN: loaded serial 0
zone 0.in-addr.arpa/IN: loaded serial 0
zone testdomain.loc/IN: loaded serial 1000000002
zone **removed**.net/IN: loaded serial 1000000002
zone **removed**.info/IN: loaded serial 1000000002
zone **removed**.com/IN: loaded serial 1000000002
zone **removed**.org/IN: iceteks.org/MX 'mail.iceteks.org' has no address records (A or AAAA)
zone **removed**.org/IN: loaded serial 1000000002
zones/**removed**.ca:24: #server02.iceteks.ca: bad owner name (check-names)
zone **removed**.ca/IN: loading from master file zones/iceteks.ca failed: bad owner name (check-names)
zone **removed**.ca/IN: not loaded due to errors.
_default/**removed**.ca/IN: bad owner name (check-names)
zone **removed**.us/IN: iceteks.us/MX 'mail.iceteks.us' has no address records (A or AAAA)
zone **removed**.us/IN: loaded serial 1000000002
zone **removed**.biz/IN: loaded serial 1000000003
zone **removed**.com/IN: loaded serial 1000000003
zone **removed**.com/IN: loaded serial 1000000002
zone **removed**.ca/IN: loaded serial 1000000002
zone **removed**.com/IN: loaded serial 1000000002
zone **removed**.us/IN: loaded serial 1000000002
zone **removed**.com/IN: loaded serial 1000000002
zone **removed**.me/IN: loaded serial 1000000002
zone **removed**.com/IN: loaded serial 1000000002
zone **removed**.mobi/IN: iceteks.mobi/MX 'mail.iceteks.mobi' is a CNAME (illegal)
zone **removed**.mobi/IN: loaded serial 1000000002
zone **removed**.com/IN: loaded serial 1000000002
zone **removed**.com/IN: loaded serial 1000000002
zone **removed**.ca/IN: loaded serial 1000000002
zone **removed**.com/IN: loaded serial 1000000002
                                                           [FAILED]
[root@server03 ~]#
How can I stop it from doing that? This is a pretty serious issue, and there seems to be little information out there on named/bind configuration. Those names tend to pull up lot of irrelevant results so it's just hard to find any good info.

My OS is CentOS 6.5.

Last edited by Red Squirrel; 02-10-2015 at 02:56 AM.
 
Old 02-09-2015, 11:14 PM   #2
Red Squirrel
Senior Member
 
Registered: Dec 2003
Distribution: Mint 20.1 on workstation, Debian 11 on servers
Posts: 1,336

Original Poster
Rep: Reputation: 54
Ok think I got it working, after restoring the backup I had to chown everything as named.

Is there a way to stop it from always deleting itself though? That's a freaking pain in the butt. Just glad I had a backup...
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Centos - Named Problems - Internal DNS server mr_si Linux - Server 4 11-21-2014 08:10 AM
named zone file came issues on CentOS 6.5 Jeff A Linux - Server 7 02-10-2014 09:33 AM
DNS: Named.conf don point to zone file Swakoo Linux - General 3 09-27-2005 07:02 PM
Problems with iptables and DNS/named Zone settings majiclab Linux - Networking 2 10-24-2004 05:27 AM
Create zone files by querying dns server kloppster Linux - Software 1 08-19-2004 05:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:11 AM.

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