I am **FINALLY** starting in on upgrading my domain server. Right now it is still on bind-9.3.6 via Centos 5.5. Stepping right up to 9.8.2 in Centos 6.3. I am pretty good with zone files and the like, though I will finally get to tackle DNSSEC (and I can go to the sources Austien, Vixie, and Liu if need be or even the bind list!), but right now I have much more mundane issues. Like it looks a bit like the chroot tree has changed! In particular under /var/named/chroot/etc I use to put my named.conf with all the include files. Now I see sub-directories named and pki there. I am ASSuMEing that pki will be for the DNSSEC; but where is the documentation? I tried looking for readme files, but can't find anything related to the chrooted bind environment. What file is the location of named.conf set up in? The zone files look to go in the same place I have them on the old server under /var/named/chroot/named/var/named.
On Tue, 12 Feb 2013, Robert Moskowitz wrote:> In particular under /var/named/chroot/etc I use to put my named.conf > with all the include files. Now I see sub-directories named and pki > there. I am ASSuMEing that pki will be for the DNSSEC; but where is > the documentation? I tried looking for readme files, but can't find > anything related to the chrooted bind environment. What file is the > location of named.conf set up in?That bit me too, early in the transition. The short story: the main BIND configuration file in CentOS 6 is /etc/named.conf. The long story: There's some funky bind mounts (where "bind" != "BIND", adding to the confusion). Run "mount | grep named" to get the overall sense of it, but in particular, you'll see [root]# mount | grep named.conf /etc/named.conf on /var/named/chroot/etc/named.conf type none (rw,bind) It ends up functioning like a hard link: [root]# ls -1i /etc/named.conf /var/named/chroot/etc/named.conf 3538955 /etc/named.conf 3538955 /var/named/chroot/etc/named.conf All the bind mounts are managed via /etc/init.d/named; see the mount_chroot_conf() function for the action. -- Paul Heinlein heinlein at madboa.com 45?38' N, 122?6' W
On 02/13/2013 03:43 AM, Lars Hecking wrote:>> Though, I am still trying to figure out what ~/etc/named is for. Am I >> suppose to put all my includes here rather than directly in ~/etc? > $UPSTREAM provides extensive documentation. You could do worse than checking > out the RHEL Deployment Guide.I missed it in my searches. My search fu is weak. Please provide me with a url?
> I missed it in my searches. My search fu is weak. Please provide me with > a url?https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-DNS_Servers.html
On 02/13/2013 06:26 AM, Lars Hecking wrote:> >> I missed it in my searches. My search fu is weak. Please provide me with >> a url? > > https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-DNS_Servers.htmlOh wonderful. I am bookmarking the top level of the guide for future searching. Now I have 8 pages to scan through, much that I know and have been doing for years, and always some new things to learn.
On Wed, February 13, 2013 10:03, Robert Moskowitz wrote:> > On 02/13/2013 06:26 AM, Lars Hecking wrote: >> >>> I missed it in my searches. My search fu is weak. Please provide me >>> with >>> a url? >> >> https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/ch-DNS_Servers.html > > OK. Read this. Nothing really new here for me. I have been managing my > own DNS since '94 and started in on DNS in '92. Always something new > with releases (adding views was a real mind switch) and something > missed. > > So nothing on what /etc/named/ directory is for. Why it is there > created in the chroot tree and empty. I am going to ask on the > bind-users isc.org list. >Probably present to technically, if not substantively, comply with this: http://www.pathname.com/fhs/ -- *** E-Mail is NOT a SECURE channel *** James B. Byrne mailto:ByrneJB at Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3