about organization of dns views

Blazier, Michael J michael.j.blazier at cingular.com
Fri Dec 24 17:28:37 UTC 2004


You have to define every zone on the Internal view. BIND will not match on
more than one view. If the client matches to the Internal view, it will only
be able to resolve doamins in that view.
Michael Blazier

----------------- Original Message ----------------
Subject: about organization of dns views
Date: Thu, 23 Dec 2004 12:14:42 -0200
From: "Fabiano Silos Reis" <fsilos at ig.com>

Hi,
 

I would like to configure dns view as clean as possible, but i´m getting
some problems with this task. At named.conf I have:

 

. . . 

 

view "internal" {

        match-clients { "acl-internal"; };

        include "zones-internal.inc";

};

 

view "internal" {

        match-clients { any; }; // everyone who is not "internal"

        include "zones-external.inc";

};

 

 

At zones-internal.inc I have:

 

zone "domain.com.br" {

        type master;

        file "virtual_domains/domain.com.br-internal";

};

 

At zones-external.inc I have:

 

zone "domain.com.br" {

        type master;

        file "virtual_domains/domain.com.br";

};

 

zone "domain2.com.br" {

        type master;

        file "virtual_domains/domain2.com.br";

};

 

 

The question I have here is: Why domain2.com.br is not resolved when I ask
my dns from an IP address that is defined in acl-internal? Is there a way to
do that without defining this zone at "internal" view? If yes, I think it
will more easy to deal with my configuration zone files because I have a lot
of zones and I would´nt like to repeat these zones inside each view I
have...

 

Thanks in advance people and have a nice xmas celebration!

 

Fabiano Reis

Michael Blazier
Great Lakes Region Unix Team
Cingular Wireless IT Services
847-765-3606 (office)
630-337-5348 (cell)
mblazier1 at imcingular.com

This e-mail and any files transmitted with it are the property of Cingular
Wireless, are confidential, and are intended solely for the use of the
individual or entity to whom this e-mail is addressed. If you are not one of
the named recipient(s) or otherwise have reason to believe that you have
received this message in error, please notify the sender at 847-765-3606 and
delete this message immediately from your computer. Any other use,
retention, dissemination, forwarding, printing or copying of this e-mail is
strictly prohibited.



More information about the bind-users mailing list