I too found it best to have them be separate even if they contain the
same data.  For me I had an internal and external view - the external
was my original zone so I made that my external view then simply
prepended "internal-" to the zone file name in the internal view.   That
way all my intenal view zones files can be found quickly (as can
external by grepping out the "internal-").   If they have the same
content you can simply copy the original zone file to the other zone and
prepend.  I did that with a for loop when I originally introduced views
and creating the zones files took less time than updating named.conf.

-----Original Message-----
From: bind-users-bounces+jlightner=water....@lists.isc.org
[mailto:bind-users-bounces+jlightner=water....@lists.isc.org] On Behalf
Of Matus UHLAR - fantomas
Sent: Thursday, March 11, 2010 10:18 AM
To: bind-users@lists.isc.org
Subject: Re: Split View DNS

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@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

-- 
Matus UHLAR - fantomas, uh...@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. 
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users
 
Proud partner. Susan G. Komen for the Cure.
 
Please consider our environment before printing this e-mail or attachments.
----------------------------------
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential 
information and is for the sole use of the intended recipient(s). If you are 
not the intended recipient, any disclosure, copying, distribution, or use of 
the contents of this information is prohibited and may be unlawful. If you have 
received this electronic transmission in error, please reply immediately to the 
sender that you have received the message in error, and delete it. Thank you.
----------------------------------
_______________________________________________
bind-users mailing list
bind-users@lists.isc.org
https://lists.isc.org/mailman/listinfo/bind-users

Reply via email to