Zone transfer problem from master to slave
Gregory Hicks
ghicks at cadence.com
Sat Oct 1 15:05:34 UTC 2005
> Date: Sat, 1 Oct 2005 02:20:43 -0700 (PDT)
> From: Solaris2005 <rajeshbreddy2 at yahoo.com>
>
[...snip...]
>
> zone "127.0.0.in-addr.arpa" {
This is usually done as
zone "0.0.127.in-addr.arpa" {
because that is the name of the ZONE. What you defined as the zone was
for address space XXX.127.0.0 which is not, I think, what you wanted.
The name of the zone is also used i nthe zone file. (Same problem on
the slave..)
> type master;
> file "/var/named/master/0.0.127.rev";
> };
>
> zone "au.ap.abnamro.com" {
> type master;
> file
> "/var/named/master/au.domainname.com.hosts";
> allow-transfer { "slaves"; };
> };
>
> zone "131.251.134.in-addr.arpa" {
> type master;
> file "/var/named/master/134.251.131.rev";
> allow-transfer { "slaves"; };
> };
>
>
> named.conf on slave:
>
> # Use with the following in named.conf, adjusting the
> allow list as needed:
> key "rndc-key" {
> algorithm hmac-md5;
> secret "6DQgjMX9yVFHEGEtcPqBfg==";
> };
>
> controls {
> inet 134.251.131.56 port 953
> allow { 134.251.131.56; } keys {
> "rndc-key"; };
> };
> # End of named.conf
>
> options {
> directory "/var/named/slave"; //
> Working directory
> listen-on {134.251.131.56; };
> transfer-source 134.251.131.50;
> notify-source 134.251.131.50;
> allow-query { any; }; // This is the
> default
> recursion yes; // Do not
> provide recursive service
> pid-file "/var/run/namedlave.pid";
> statistics-file "/var/run/namedslave.stats";
> dump-file "/var/run/namedslave.db";
> # hide the version number
> version "[secured]";
> };
>
> # The root nameservers
> zone "." {
> type hint;
> file "named.root";
> };
>
> zone "localhost" {
> type master;
> file "/var/named/slave/localhost.hosts";
> };
>
> zone "127.0.0.in-addr.arpa" {
> type master;
> file "/var/named/slave/0.0.127.rev";
> };
>
> zone "au.ap.abnamro.com" {
> type slave;
> file "/var/named/slave/au.domainname.com.slave";
> masters { 134.251.131.50; };
> transfer-source 134.251.131.50;
> };
>
> zone "131.251.134.in-addr.arpa" {
> type slave;
> file "/var/named/slave/134.251.131.slave";
> masters { 134.251.131.50; };
> transfer-source 134.251.131.50;
> };
>
> Please let me know if there is any error in my config
> files.
>
> Thanks.
>
>
>
> __________________________________
> Yahoo! Mail - PC Magazine Editors' Choice 2005
> http://mail.yahoo.com
>
>
---------------------------------------------------------------------
Gregory Hicks | Principal Systems Engineer
Cadence Design Systems |
555 River Oaks Pkwy M/S 6B1 |
San Jose, CA 95134 |
I am perfectly capable of learning from my mistakes. I will surely
learn a great deal today.
"A democracy is a sheep and two wolves deciding on what to have for
lunch. Freedom is a well armed sheep contesting the results of the
decision." - Benjamin Franklin
"The best we can hope for concerning the people at large is that they
be properly armed." --Alexander Hamilton
More information about the bind-users
mailing list