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.
On 02/12/2013 06:46 PM, Paul Heinlein wrote:
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.
And from this I got pointed to /etc/sysconfig/named which is MUCH more informative than the same file on the old system.
Thanks all. I believe I have enough pointers to get the basics setup here.
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?
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/ht...
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/ht...
Oh 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 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/ht...
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.
Am 13.02.2013 um 16:03 schrieb Robert Moskowitz rgm@htt-consult.com:
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/ht...
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.
my approach would be
checking the contents that came with the distribution
get package names
$ rpm -qa |grep bind
$ rpm -ql $packagename
that list shows files that could be of interest (docs, scripts, init file, sysconfig etc.)
$ rpm -q --scripts bind
also interesting - what is done while installing the package.
-- LF