Slave DNS doesn't update..

bshah at citadon.com bshah at citadon.com
Tue Aug 23 20:17:06 UTC 2005


Hi Barry,
That's what i thaught. It should work without reload. REFRESH is set to
8 Hrs.
Also some of the zones are not even getting trnasfered to Slave.
Here is the example of my named.conf file. Please let me know what am i
missing here.
I am using BIND 9.3.1. What should be the ideal refresh rate? Also It
doesn't transfer any zone from Master to Slave if a specified zone is
present in external view but not in internal.

Master DNS
-----------------------
options {
        directory "/var/named";
        pid-file "/etc/named.pid";
        allow-query { any; };
        allow-transfer { xx.xx.xx.xx; };
        notify yes;
};

 key "rndc-key" {
        algorithm hmac-md5;
        secret
"gUrgnf1jI4DcOwWMHGdbeCzuf0ZWlwvCzc0cbMT9O2DOOUO9PSve696iZTUKjKjIMOu3DOIEq3gU0H2G/nx++w=="
;
};

 controls {
        inet 127.0.0.1 allow { xx.xx.xx.xx; 127.0.0.1; } keys {
"rndc-key"; };
};

view "internal" {
        match-clients { localnets; };
        recursion yes;
zone "example.com" {
                type master;
                file "master/internal/example.com";
        };.

view "external" {
        match-clients { any; };
        recursion no;

 zone "example.com" {
                type master;
                file "master/external/example.com";
        };
        };
SLAVE DNS
--------------------

options {
        directory "/var/named";
        pid-file "/etc/named.pid";
        allow-query { any; };

 key "rndc-key" {
        algorithm hmac-md5;
        secret
"gUrgnf1jI4DcOwWMHGdbeCzuf0ZWlwvCzc0cbMT9O2DOOUO9PSve696iZTUKjKjIMOu3DOIEq3gU0H2G/nx++w=="
;
};

view "internal" {
        match-clients { localnets; };
        recursion yes;
zone "example.com" {
                type slave;
                file "slave/internal/example.com";
                masters { xx.xx.xx.xx; };
        };
view "external" {
        match-clients { any; };
        recursion no;

zone "example.com" {
                type slave;
                file "slave/external/example.com";
                masters { xx.xx.xx.xx; };
        };



More information about the bind-users mailing list