R: How do I do a zone transfer of two different views

Chiesa Stefano Stefano.Chiesa at wki.it
Mon Aug 30 07:10:49 UTC 2010


Hello Scott.
You have to reserve an internal IP to use to transfer the external view.
In my case, on the master:

ON THE MASTER
----------------

acl Internal_Network{
	10.39.0.0/16;
};
view "internal" {
	match-clients { 
		!10.39.144.2;		//on of two slave's ip used for
exterlal view transfer
		Internal_Network;
....
};

view "external" {
	match-clients { any; };
....
};


ON THE SLAVE (primary ip 10.39.144.1)
--------------------------------------

view "external" {
	match-clients { any; };
	transfer-source 10.39.144.2;
....
};

So the slave uses 10.39.144.1 to transfer internal zones and 10.39.144.2
for the external ones.

Hope this helps.

Ciao.
Stefano.


-----Messaggio originale-----
Da: bind-users-bounces+stefano.chiesa=wki.it at lists.isc.org
[mailto:bind-users-bounces+stefano.chiesa=wki.it at lists.isc.org] Per
conto di Scott Simpson
Inviato: sabato 28 agosto 2010 8.22
A: bind-users at lists.isc.org
Oggetto: How do I do a zone transfer of two different views

I have a master DNS server with two different views: "internal" and 
"external". How do I do a zone transfer of the two different views? The 
following on the slave only grabs the internal view:

view "external" {
    match-clients { any; };
    allow-transfer { none; };
    allow-query { any; };
    zone "foo.org" in {
        type slave;
        masters { 192.168.2.10; };
        file "named.foo.org.external.slave";
    };
...

because I don't know how to specify the correct view from the master.
_______________________________________________
bind-users mailing list
bind-users at lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users



More information about the bind-users mailing list