bind restart needed to reflect changes to dynamic zone in multiple views

Evan Hunt each at isc.org
Fri Jun 24 17:47:05 UTC 2011


> But reload doesn't work for dynamic zones:

Do the internal and external versions *both* need to be dynamic? 
I'd expect it to work okay if you had only one of them dynamic, and
sent periodic reload commands to the other one.

The master/slave approach really works better, though.  Something like
this:

    view internal {
        match-clients { !key example-key; localnets; };
        zone example.com {
            type slave;
            masters { localhost key example-key; }
        };
    };

    view external {
        match-clients { any; };
        zone example.com {
            type master;
            file "filename";
            update-policy { grant example-key zonesub ANY; };
            also-notify { 127.0.0.1; };
        };
    };

-- 
Evan Hunt -- each at isc.org
Internet Systems Consortium, Inc.



More information about the bind-users mailing list