DNS problem

Status
Not open for further replies.

Fennes

Verified User
Joined
Mar 2, 2006
Messages
6
Location
Netherlands
hello,

i've search the forum for the same problem,

i've found some threads but those solutions didn't work :(

So here is my problem:

if a customer of me (admin) change or add a domain Bind(named) won't restart automaticly.

I have to do it manualy.

the systemlog of DA says named reloading but if i check the /var/log/syslog

i won't find any entries of bind being reloaded.

and if i check with dig @localhost or host command the changes are not shown.

i'm running the newest DA version on
Debian OS.

I hope somebody can help me!

thanks in advange


*edit*

found the problem:

natascha:/etc/init.d# /etc/init.d/named reload
rndc: connect failed: connection refused
natascha:/etc/init.d#

but next question how to fix it ;)

*edit 2*

fixed:
this is what i did:

added an key in /etc/bind/named.conf.options <<< DEBIAN OS
#------------------------------------
key "rndc-key" {
algorithm hmac-md5;
secret "thisisasecretkey";
};

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

and added the same key to /etc/bind/rndc.key
#------------------------------------
key "rndc-key" {
algorithm hmac-md5;
secret "thisisasecretkey;
};
#-------------------------------------

after that rndc reload and everthing working just fine :)
 
Last edited:
Status
Not open for further replies.
Back
Top