Using views with multiple domains

base60 nobody at whitehouse.com
Wed May 31 00:46:18 UTC 2006


jonr at destar.net wrote:
> I have setup bind-9.3.1 to use views and I have two domains that I resolve for,
> domain1.com and domain2.net. Before I used views everything worked fine all
> names resolved to my IP address. Since I started using views the domain I host
> no longer resolves to my IP. Views seem pretty straight forward on ow to set
> them up so I must be missing the obvious here but I can't find it. I have tried
> searching google and the list archives but my keywords are not giving me the
> results I am looking for.

Suggestion: describe what you're trying to accomplish with the views.

> 
> Can I put both domains inside of my external view or does there need to be a
> seperate view for each domain? As I have it now I have both domains inside of
> my external view and only my domain inside of my internal view.
> 
> e.g:
> 
> // OUR EXTERNAL ZONES
> view "external" {
>         match-clients { "outside"; };
> 
> // Root servers
> zone "." in {
>   type hint;
>   file "root.hints";
> };
> 
> zone "domain1.com" {
>   type master;
>   file "master/db.domain1.com";
>   allow-query { any; };
> };
> 
> zone "domain2.net" {
>   type master;
>   file "master/db.domain2.net";
>   allow-query { any; };
>   };
> };
> 
> 
> 
> Thanks for any help,
> 
> Jon
> 
> 
> 



More information about the bind-users mailing list