Views and slave zones

Adam Clark adam.clark at ngv.vic.gov.au
Mon Aug 2 01:48:36 UTC 2004


ok, an interesting question.  When using views, how are slave zones on
servers
able to transfer the correct zone file?

Example:
Dns0 (192.168.0.30):

view "internal" {
        match-clients { 192.168.0.0/24; };
        recursion no;
        zone "domain.com" {
                type master;
                notify no;
                file "db/domain.com-external.db";
        };
=20
view "external" {
        match-clients { any; };
        recursion no;
        zone "domain.com" {
                type master;
                notify no;
                file "db/domain.com-external.db";
        };
=20
Dns1 (192.168.0.35):

view "internal" {
        match-clients { 192.168.0.0/24; };
        recursion no;
        zone "domain.com" {
                type slave;
                file "db/domain.com-external.db";
        };
=20
view "external" {
        match-clients { any; };
        recursion no;
        zone "domain.com" {
                type slave;
                file "db/domain.com-external.db";
        };


Given the views of dns0, dns1 is going to pull down the internal
View of domain.com to both dns1's internal and external views.

Am I correct in thinking this way?

Adam Clark
=20
Network Administrator
National Gallery of Victoria
180 St Kilda Rd
Melbourne, Vic, 3004
tel: 03 8620 2369
fax: 03 8620 2555


More information about the bind-users mailing list