Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bind fails to resolv after update world (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Thu Nov 17, 2005 9:07 pm    Post subject: Bind fails to resolv after update world (SOLVED) Reply with quote

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
View user's profile Send private message
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Thu Nov 17, 2005 10:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
hookooekoo
Apprentice
Apprentice


Joined: 02 May 2004
Posts: 196

PostPosted: Thu Nov 17, 2005 10:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum