View Full Version : Modifying how DMS updates DNS..
dpuryear
03-26-2003, 06:43 PM
We are running named chroot. DSM is dumping new zone changes to /etc/named.conf and /var/named. We would prefer the changes be made to the files under the chroot at /var/named (/var/named/etc and /var/named/var). We can finagle this with some symlinks, but is there a way to just change this in the DSM configuration?
You will need to use symlinks etc as you cannot customize where your named.conf and zone files are written via dsm.
dpuryear
03-27-2003, 08:30 AM
Okay, as an FYI to others this is what I did.
I am running named chroot to /var/named. So I have:
/var/named/etc
/var/named/var
/var/named/sbin
...
To get DSM to work with a chroot named I then modified my setup like this:
# mv /var/named /var/named.chroot
# ln -s /var/named.chroot/var/named /var/named
# ln -s /var/named.chroot/etc/named.conf /etc/named.conf
# vi /etc/rc.d/init.d/named
ROOTDIR=/var/named.chroot
:wq
This is off the top of my head but this should be enough to figure it out.
vBulletin v3.5.1, Copyright ©2000-2010, Jelsoft Enterprises Ltd.