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...@lists.isc.org
[mailto:bind-users-bounces+stefano.chiesa=wki...@lists.isc.org] Per
conto di Scott Simpson
Inviato: sabato 28 agosto 2010 8.22
A: bind-users@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@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to