Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-07-2008, 04:59 AM   #1
LQ Newbie
Registered: Mar 2004
Posts: 10

Rep: Reputation: 0
Question BIND not starting or logging


I recently installed BIND9 on Red Hat AS 2.1, using the following three rpms,


The bind files etc have all been installed, I defined one test domain, i followed a howto but once completed when i attempt to start bind, it says it has started but the logs do not show anything and a telnet to localhost 53 responds with connection refused, when i check the status of bind it shows it as not running. it seems it runs the start but then nothing happens!

My named.conf looks like below

options {
directory "/opt/named";
pid-file "";
notify yes;


logging {
category security { default_syslog; };
category lame-servers { null; };
category queries { null; };


# Use with the following in named.conf, adjusting the allow list as needed:
key "rndc-key" {
algorithm hmac-md5;
secret "tauMMYUPBaTNPtYKBXAGZAdtrGVimNkmqWDgGaoj";

controls {
inet port 953
allow {; } keys { "rndc-key"; };


zone "." {
type hint;
file "root.hint";

zone "" {
type master;
file "localhost.rev";
notify no;

zone "" {
type master;
file "";

zone "" {
type master;
file "";


Any help or ideas would be greatly appreciated!

Old 08-07-2008, 05:09 AM   #2
LQ Newbie
Registered: Mar 2004
Posts: 10

Original Poster
Rep: Reputation: 0

I think the fixed the above the files were all owned by root, once i changed the ownership to named it started up, however I still do not see anything in the logs, also when trying to dig/nslookup the test domain i get a SERVFAIL

any ideas?!

Old 08-07-2008, 07:27 AM   #3
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Stretch/Sid, Linux Mint DE
Posts: 4,610

Rep: Reputation: 689Reputation: 689Reputation: 689Reputation: 689Reputation: 689Reputation: 689
Check /var/log/syslog and /var/log/messages very carefully. Sometimes the bind error messages are not very clearly marked as errors.

For one thing, I believe '#' is an illegal character in bind config files. You should use '//' in named and ';' in the .db and .rev files.

Also, in the process of installing and debugging I would start with the simplest, default and proven config files which give you the best chance for getting a running system. Start working from there.



bind, named, syslog, zone files

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND 9 not logging to custom logs skibler1223 Linux - Server 9 05-23-2009 02:30 PM
BIND 9 Logging Question buggabill Linux - Networking 6 12-13-2006 12:31 PM
BIND logging issues - doesn't seem to want to log laggerific Linux - Software 2 10-23-2006 02:08 PM
BIND - logging file not found buskmann Linux - Networking 5 05-02-2005 11:33 AM
BIND - logging issues thebee Linux - Software 0 06-23-2003 12:20 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:25 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration