Problem with Bind9
When I reboot my server, it takes a long time until it has started all processes and this is because Bind9 starts as this :
/usr/sbin/named -u bind -t /var/lib/named it then uses the old and wrong dns numbers then I kill this process when i can with the program htop. then all other remaining processes starts very quick. But then i still have no bind active. then i start by using webmin the service bind9 and it also uses then the correct dns forwarders. then i see in htop the process is called : /usr/sbin/named -c /etc/bind/named.conf this works good but how can i prevent bind starts with the wrong process but it must use this last one and automatically. I also checked the rc.local file if there is another command but it is not. I also deleted already the nscd service, i cleaned the dns cache but still no luck. |
What distribution are you running?
|
Ubuntu LTS server 8.04
|
think bind-chrootenv is installed on your system. just uninstall bind-chroot and go on
thnks |
When I run apt-get remove bind-chroot it says it could not find this package.
I run Webmin and I have searched for installed bind packages and here is my search list result: bind9 9.4.2.dfsg.P2-2ubuntu0.2 A-E Internet Domain Name Server bind9-host 9.4.2.dfsg.P2-2ubuntu0.2 A-E Version of 'host' bundled with BIND 9.X libbind9-30 9.4.2.dfsg.P2-2ubuntu0.2 K-O BIND9 Shared Library used by BIND libdns32 9.4.2-10 K-O DNS Shared Library used by BIND libdns35 9.4.2.dfsg.P2-2ubuntu0.2 K-O DNS Shared Library used by BIND libisc32 9.4.2-10ubuntu0.1 K-O ISC Shared Library used by BIND libisc35 9.4.2.dfsg.P2-2ubuntu0.2 K-O ISC Shared Library used by BIND libisccc30 9.4.2.dfsg.P2-2ubuntu0.2 K-O Command Channel Library used by BIND libisccfg30 9.4.2.dfsg.P2-2ubuntu0.2 K-O Config File Handling Library used by BIND liblwres30 9.4.2.dfsg.P2-2ubuntu0.2 K-O Lightweight Resolver Library used by BIND libxcb-xlib0 1.1-1ubuntu1 K-O X C Binding, Xlib/XCB interface library libxcb1 1.1-1ubuntu1 K-O X C Binding winbind 3.0.28a-1ubuntu4.8 U-Z service to resolve user and group information from Windows NT servers |
check for package dchroot
thnks |
Sorry, no package "dchroot" was found on my system.
But I have changed the /etc/default/bind9 file to this : OPTIONS="-c /etc/bind/named.conf" RESOLVCONF=yes and I do not have to manually stop the chrooted bind anymore, now it works with this change. But maybe it's not good? what is the difference? |
Quote:
|
All times are GMT -5. The time now is 03:34 AM. |