i am using linux 8 & bind 9.2.1-9 is installed in it.
i want to confugre it as a slave DNS. i have configures the named.conf file like this
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
#key "rndckey" {
#algorithm hmac-md5;
#secret "npWpMMcgmH9yOqFRz1iSJxdg6rIIB6KPM4m8c3CX19kAKWG9Ys15FHBi6tgy";
#};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "laghu-udyog.com" {
type slave;
file "slave.laghu-udyog.com";
masters {203.200.104.8;};
};
zone "104.200.203.in-addr.arpa" {
type=slave;
file "slave.203.200.104";
masters {203.200.104.8;};
};
include "/etc/rndc.key";
but when i start the named service it gives error
Stopping named: rndc: connect failed: connection refused
The rndc.conf file is as follows
*/
options {
default-server localhost;
default-key "rndckey";
};
server localhost {
key "rndckey";
};
key "rndckey" {
algorithm hmac-md5;
secret "npWpMMcgmH9yOqFRz1iSJxdg6rIIB6KPM4m8c3CX19kAKWG9Ys15FHBi6tgy";
};
Pls help to solve out this problem.
Regds,
Kaushal Vashisht
i want to confugre it as a slave DNS. i have configures the named.conf file like this
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
#key "rndckey" {
#algorithm hmac-md5;
#secret "npWpMMcgmH9yOqFRz1iSJxdg6rIIB6KPM4m8c3CX19kAKWG9Ys15FHBi6tgy";
#};
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.in-addr.arpa" IN {
type master;
file "named.local";
allow-update { none; };
};
zone "laghu-udyog.com" {
type slave;
file "slave.laghu-udyog.com";
masters {203.200.104.8;};
};
zone "104.200.203.in-addr.arpa" {
type=slave;
file "slave.203.200.104";
masters {203.200.104.8;};
};
include "/etc/rndc.key";
but when i start the named service it gives error
Stopping named: rndc: connect failed: connection refused
The rndc.conf file is as follows
*/
options {
default-server localhost;
default-key "rndckey";
};
server localhost {
key "rndckey";
};
key "rndckey" {
algorithm hmac-md5;
secret "npWpMMcgmH9yOqFRz1iSJxdg6rIIB6KPM4m8c3CX19kAKWG9Ys15FHBi6tgy";
};
Pls help to solve out this problem.
Regds,
Kaushal Vashisht