I have two DA servers (NS1 and NS2). I want to transfer the DNS Zone between the two servers. I followed the instructions found on the links below. After 2-3 days, DNS Zones were not transferred.
http://www.directadmin.com/help/item.php?id=138
http://help.directadmin.com/item.php?id=97
Here's what I did:
Here is the named.conf
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
allow-transfer { none; };
allow-recursion { localnets; };
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
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; };
};
include "/etc/rndc.key";
zone "example.com" { type master; file "/var/named/example.com.db"; };
Reseller Level shows the correct IP Management and Correct Name Servers.
Server Information
O/S: CentOS 5.2
DirectAdmin Version: 1.33.6
Apache Version: 2.2.11
Suggestions?
http://www.directadmin.com/help/item.php?id=138
http://help.directadmin.com/item.php?id=97
Here's what I did:
- 1 I added NS2 IP with Zone transfer to NS1 Multi Server setup and vice versa. I tested the connection and both gave the "Test OK" message.
- 2 I added NS2 IP to IP Management on NS1 and vice versa on NS2.
Here is the named.conf
// generated by named-bootconf.pl
options {
directory "/var/named";
/*
* If there is a firewall between you and nameservers you want
* to talk to, you might need to uncomment the query-source
* directive below. Previous versions of BIND always asked
* questions using port 53, but BIND 8.1 uses an unprivileged
* port by default.
*/
// query-source address * port 53;
allow-transfer { none; };
allow-recursion { localnets; };
};
//
// a caching only nameserver config
//
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
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; };
};
include "/etc/rndc.key";
zone "example.com" { type master; file "/var/named/example.com.db"; };
Reseller Level shows the correct IP Management and Correct Name Servers.
Server Information
O/S: CentOS 5.2
DirectAdmin Version: 1.33.6
Apache Version: 2.2.11
Suggestions?