Christophe1
Verified User
Hi all,
When I add a new domain to the server, DA isn't reloading named, so the domain doesn't resolve.
Now, I even have problems restarting named by SSH; it's like named is hanging. Minutes later I still can't use the shell. I have to start a new shell to do a killall named. Same problem with restarting named in directadmin, so I think the problem is't directadmin, but named itself.
After a few times trying to stop/start, a few reloads, a few restarts and mostly also a few killall named, finally the new added domain resolves.
Any suggestions? it's a Debian 4.0/custombuild server.
I found this in the knowledge base:
So in debian I did:
Still have the same problem...
I just noticed that when I typ /etc/init.d/bind restart, it works fine
When I add a new domain to the server, DA isn't reloading named, so the domain doesn't resolve.
Now, I even have problems restarting named by SSH; it's like named is hanging. Minutes later I still can't use the shell. I have to start a new shell to do a killall named. Same problem with restarting named in directadmin, so I think the problem is't directadmin, but named itself.
After a few times trying to stop/start, a few reloads, a few restarts and mostly also a few killall named, finally the new added domain resolves.
Any suggestions? it's a Debian 4.0/custombuild server.
I found this in the knowledge base:
On some systems, the named boot script provided with the bind rpms don't seem to reliably reload the named program. You can obtain a new named boot script by running the following (RedHat):
cd /etc/init.d
mv named named.backup
wget http://www.directadmin.com/named
chmod 755 named
/sbin/chkconfig named reset
This boot script uses are more direct method of reloading named.
Note, if you're using debian, use:
www.directadmin.com/named.debian
So in debian I did:
cd /etc/init.d
mv named named.backup
wget http://www.directadmin.com/named.debian
mv named.debian named
chmod 755 named
/etc/init.d/named restart
Still have the same problem...
I just noticed that when I typ /etc/init.d/bind restart, it works fine

Last edited: