OS: Gentoo
Bind Version: 9.6.0-p1
I currently have my Bind server set up with 3 views. It seems that every now
and then I have clients in the "office" view that try to go to www.mydomain.com
(which should be a public address), but instead they get the internal address
that is defined in the "datacenter" view (10.x.x.x). As a result, they can't
get to www.mydomain.com. My views are configured as shown below (yes, all the
include files exist and load properly). They are ordered in my configuration as
shown below as well. Any ideas on why this may be happening?
view "datacenter" {
match-clients { 10.x.x.0/24; };
recursion yes;
include "/etc/bind/includes/ datacenter includes.conf";
allow-recursion { 1 0.x.x.0 /24; };
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "pri/localhost.zone";
allow-update { none; };
notify no;
};
zone "127.in-addr.arpa" IN {
type master;
file "pri/127.zone";
allow-update { none; };
notify no;
};
};
view "office" {
match-clients { 166.x.x.88/29; };
recursion yes;
include "/etc/bind/includes/officeincludes.conf";
allow-recursion { 166.x.x.88/29; };
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "pri/localhost.zone";
allow-update { none; };
notify no;
};
zone "127.in-addr.arpa" IN {
type master;
file "pri/127.zone";
allow-update { none; };
notify no;
};
};
view "public" {
match-clients { any; };
recursion no;
include "/etc/bind/includes/publicincludes.conf";
allow-recursion { none; };
zone "." IN {
type hint;
file "named.ca";
};
zone "localhost" IN {
type master;
file "pri/localhost.zone";
allow-update { none; };
notify no;
};
zone "127.in-addr.arpa" IN {
type master;
file "pri/127.zone";
allow-update { none; };
notify no;
};
};
_____________________
Corey Shaw
_______________________________________________
bind-users mailing list
[email protected]
https://lists.isc.org/mailman/listinfo/bind-users