View previous topic :: View next topic |
Author |
Message |
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Thu Nov 17, 2005 9:07 pm Post subject: Bind fails to resolv after update world (SOLVED) |
|
|
Hello All,
Bind fails to resolv local zone files after and update world. It still resloves non local address just fine. It is in a chrooted environment, and I am sure this is why. I probably just need to make a change somewhere, but I can't figure it out.
Everything seems fine with named restart, etc.
Pls help.
Thanks |
|
Back to top |
|
|
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Thu Nov 17, 2005 10:05 pm Post subject: |
|
|
Some symlinks got deleted apparently in the update. I will post fix when I get a chance, incase others have the same issue. |
|
Back to top |
|
|
hookooekoo Apprentice
Joined: 02 May 2004 Posts: 196
|
Posted: Thu Nov 17, 2005 10:43 pm Post subject: |
|
|
Documenation of the fix.
/etc/bind and /var/bind both need symlinks into the chrooted jail environment, /chroot/dns/etc/bind and /chroot/dns/var/bind, respectively. There are hard coded paths in the named.conf and init.d files that refer to these locations.
Code: |
/etc/init.d named stop
Mv /etc/bind /etc/bindlocal
Mv /var/bind /var/bindlocal
Ln s /chroot/dns/etc/bind /etc/bind
Ln s /chroot/dns/var/bind /var/bind
Tail f /var/log/messages && /etc/init.d named start |
|
|
Back to top |
|
|
|