repository for zone files

Lightner, Jeff jlightner at
Thu Sep 23 20:07:16 UTC 2010

/etc = named.conf, rndc.conf and other config files
/var/named = zone files.

Are you running just bind or bind-chroot.  If the latter then named.conf
goes in /var/named/chroot/etc rather than /etc and the zone files go
into /var/named/chroot/var/named instead of /var/named.

You can configure things any way you like but if you're using the RHEL
updates then you need to put them where RHEL's RPMs put them.   

Also if you're using SELinux RHEL sets the contexts based on where it
expects things to be.  

If you really want to see things from /etc/dns you could just make an
/etc/dns directory then create symbolic links to the named.conf and the
zone files in /etc/dns.

-----Original Message-----
From: at
[ at] On Behalf
Of Stewart Dean
Sent: Thursday, September 23, 2010 3:53 PM
To: bind-users at
Subject: repository for zone files

  On AIX, I'm used to /etc/dns.  CentOS seems to place in /var/named.
Is there 
any blessed, bestofallpossibleworlds place for the zone files.  I'm
moving our 
DNS from from AIX to CentOS/Fedora.  I'm inclined to create the /etc/dns
dir but 
maybe it'd be better to put it in /var/named.....Comments, brickbats?
"One must think like a hero to behave like a merely decent human being."
- May 
Sarton Stewart Dean, Unix System Admin, Bard College, New York 12504 
sdean at voice: 845-758-7475, fax: 845-758-7035

bind-users mailing list
bind-users at
Proud partner. Susan G. Komen for the Cure.
Please consider our environment before printing this e-mail or attachments.
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.

More information about the bind-users mailing list