Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgraded to redhat 9 now named doesn't work

Status
Not open for further replies.

wbg34

IS-IT--Management
Nov 2, 2000
550
US
I upgraded my DNS server to Redhat 9 and named stopped working I tried to restart but cannot shutdown named.
This is the message that I receive when looking at named's status
rndc: connect failed: connection refused

Here is the applicable entries from the message log.

May 14 13:19:50 Localhost named: named shutdown failed
May 14 13:19:52 Localhost named[1208]: starting BIND 9.2.1 -u named
May 14 13:19:52 Localhost named[1208]: using 1 CPU
May 14 13:19:52 Localhost named[1208]: loading configuration from '/etc/named.conf'
May 14 13:19:52 Localhost named[1208]: /etc/named.conf:21: 'options' redefined near 'options'
May 14 13:19:52 Localhost named[1208]: loading configuration: already exists
May 14 13:19:52 Localhost named[1208]: exiting (due to fatal error)
May 14 13:19:52 Localhost named: named startup succeeded

Here is the named.conf
key "rndc-key" {
algorithm hmac-md5;
secret "**************";
};

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

include "/etc/named.custom";

include "/etc/rndc.key";

options {
directory "/var/named/";
};









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


zone "localhost" {
type master;
file "localhost.zone";
};






zone "dom1.com" {
type master;
file "/var/named/dawsonmetal.com.hosts";
};

zone "rev ip.in-addr.arpa" {
type master;
file "/var/named/206.159.167.rev";
};

zone "dom2.com" {
type master;
file "/var/named/dawsondoors.com.hosts";
};

Here is the rndc.conf
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;

};

server localhost {
key "rndc-key";
};

key "rndc-key" {
algorithm hmac-md5;
secret "*********";
};


Any ideas on what could be causing this.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top