Ok for Views to use same Zone information?

Barry Margolin barmar at alum.mit.edu
Sat Sep 8 02:43:50 UTC 2007


In article <fbqnhi$1b71$1 at sf1.isc.org>,
 "Paine, Thomas Asa" <PAINETA at uwec.edu> wrote:

> For example if View 1 and View 2 differ in options, but don't really differ 
> in zone information is it ok to do this...
> 
> view "view1" {
>         <specific view1 options and/or zones>
> 
>         zone "foobar.com" {
>                 type slave;
>                 file "db.foobar.com";
>                 masters { somelist; };
>         };
> };
> 
> view "view2" {
>         <specific view2 options and/or zones>
> 
>         zone "foobar.com" {
>                 type slave;
>                 file "db.foobar.com";
>                 masters { somelist; };
>         };
> };
> 
> Will bind use the same instance/cache/backups regarding file "db.foobar.com" 
> or do the two zone declarations have to specify unique files?

It's OK to do this for master zones, but not for slave zones.  The 
problem is that both views might try to transfer the zone concurrently, 
and both try to write to the same file.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***



More information about the bind-users mailing list