Split View DNS

Matus UHLAR - fantomas uhlar at fantomas.sk
Thu Mar 11 15:17:51 UTC 2010


On 11.03.10 10:06, Jason Gates wrote:
> When using split view, can one point to the same file in both views?

for master zones, yes, but you will have to reload it in all views
explicitly (I think that server reload should take care of that)

for slave zones, I'm afraid it's not possible. You will have either to fetch
it two times from the master, or fetch from one view to another one...

(or create third view which will have ti as slave and create forward zones
in other views to this one).

> example:
> 
> view "blah-internal" {
> 
> match-clients { internal-users; };
> zone "blah.org" in {
> type slave;
> file "/var/named/slave/blah.org";
> masters { ipaddress; };
> };
> 
> zone "10.10.10.in-addr.arpa" in {
> type slave;
> file "/var/named/slave/10.10.10.reverse";
> masters { ipaddress; };
> };
> 
> };
> 
> 
> view "blah-external" {
> 
> match-clients { any; };
> zone "blah.org" in {
> type slave;
> file "/var/named/slave/blah.org";
> masters { ipaddress; };
> };
> 
> zone "10.10.10.in-addr.arpa" in {
> type master;
> file "/var/named/view/10.10.10.reverse";
> };
> 
> };
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.14 (Darwin)
> 
> iEYEARECAAYFAkuZBtkACgkQ3BaZWzk6Q2cm6wCgt8/qogkzaM4SosMpS9o+PT9k
> qugAoIwHOmvsZyrHDfbZEDsY1Rp1/tFZ
> =aL9s
> -----END PGP SIGNATURE-----
> _______________________________________________
> bind-users mailing list
> bind-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
99 percent of lawyers give the rest a bad name. 



More information about the bind-users mailing list