LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



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

Rep: Reputation: 0
Question BIND not starting or logging


Hi,

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

[HTML]bind-utils-9.1.3-2.dag.rh62
bind-devel-9.1.3-2.dag.rh62
bind-9.1.3-2.dag.rh62[/HTML]

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

[HTML]#
options {
directory "/opt/named";
pid-file "named.pid";
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 127.0.0.1 port 953
allow { 127.0.0.1; } keys { "rndc-key"; };

};

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

zone "0.0.127.in-addr.arpa" {
type master;
file "localhost.rev";
notify no;
};

zone "test.com" {
type master;
file "test.com";
};

zone "192.200.10.in-addr.arpa" {
type master;
file "192.200.10.in-addr.arpa.dns";
};

[/HTML]

Any help or ideas would be greatly appreciated!

Thanks
w
 
Old 08-07-2008, 06:09 AM   #2
wacko_cracko
LQ Newbie
 
Registered: Mar 2004
Posts: 10

Original Poster
Rep: Reputation: 0
Okie,

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?!

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

Rep: Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545
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.

jlinkels
 
  


Reply

Tags
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 03:30 PM
BIND 9 Logging Question buggabill Linux - Networking 6 12-13-2006 01:31 PM
BIND logging issues - doesn't seem to want to log laggerific Linux - Software 2 10-23-2006 03:08 PM
BIND - logging file not found buskmann Linux - Networking 5 05-02-2005 12:33 PM
BIND - logging issues thebee Linux - Software 0 06-23-2003 01:20 PM


All times are GMT -5. The time now is 11:53 AM.

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