[afnog] DNS and BIND9

Joe Abley jabley at ca.afilias.info
Tue May 30 20:27:05 EAT 2006


On 30-May-2006, at 03:34, Brian Candler wrote:

> If 'start' doesn't work, then perhaps your named.conf is broken.  
> Try looking
> in syslog (e.g. /var/log/messages) to see if any errors are logged  
> there.

Other things to try:

  - named-checkconf /etc/bind/named.conf

This uses the same configuration file parser as the normal named  
process and will tell you if you have errors in your configuration file.

  - named -u bind -g

The "-u bind" is the default Debian parameter, and the additional "- 
g" will cause BIND to run in the foreground, and send all its  
debugging information to the console (to stderr). Press ^C (or  
whatever your interrupt key is) to stop it. The debugging information  
might give you clues, or at least something you can paste into an e- 
mail to afnog to give us more help.

Note that sometimes when experimenting with starting and stopping the  
named process you can wind up with two copies running at once. This  
is generally unhelpful.

You can check how many copies you have running by typing something  
like this:

   ps axww | grep named | grep -v grep

If you have several running, you can kill them all at once using

   killall named

as root.


Joe




More information about the afnog mailing list