Bind 9 view transfer problem

Jim Reid jim at rfc1035.com
Mon Apr 23 19:53:08 UTC 2001


>>>>> "Michele" == Michele Vignali <mvignali at bci.it> writes:

    Michele> Is it possible to do a "view transfer" not only a "zone
    Michele> transfer".

Sort of. There is no DNS protocol for view transfers. [Views are a
BIND9-ism that are not (yet) defined by an RFC.] Views are just name
spaces for zones "tagged" by IP address. A query from one address sees
one name space while a different IP address gets another. If the
source address of an axfr query "belongs" to view A, the slave server
gets that copy of the zone transferred. Another IP address could get a
different version of the zone when it does a transfer. So if you can
arrange the IP addresses for each view's zone transfer, it will all
just work. You can use the transfer-source option inside each view{}
statement to do that.

However I would not recommend doing this. Usually views are set up to
implement split DNS. In these cases, it's better if the inside and
outside versions of some zone have distinct slave servers: ie one on
the internal network with the internal view and one on the external
net with the external view of the zone. There's probably some firewall
or logical separation between the two (or more views) for a zone. It
would be simpler to use distinct name servers for each view -- and a
lot easier to set up and maintain too!


More information about the bind-users mailing list