Using views with multiple domains
jonr at destar.net
jonr at destar.net
Tue May 30 23:52:16 UTC 2006
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.
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