May 09, 2005

named configuration headache

I spent some time the other day wondering why:

  • a local name lookups were working fine directly on the server, BUT
  • any queries from any other hosts went unanswered.

It turned out that by default when you install named from FreeBSD's ports collection the named.conf contains this little bit of text:

// If named is being used only as a local resolver, this is a safe default.

// For named to be accessible to the network, comment this option, specify

// the proper IP address, or delete this option.

listen-on { 127.0.0.1; };

It took me most of a day before I realized that that was exactly my problem and all I had to do was comment out that line for everything to start working like I expected. I didn't couldn't find this idiotic mistake written about elsewhere on the web, so I'll leave this hear in the hope that it will help someone else.

Posted by rob at May 9, 2005 05:47 PM
Comments
Post a comment









Remember personal info?