Two view for one domain : local & internet

Barry Margolin barry.margolin at level3.com
Wed Aug 27 22:05:13 UTC 2003


In article <bij94u$3t3$1 at sf1.isc.org>,
lolotux try INN config ???  <lolotux at system-linux.net> wrote:
>view "world" {
> match-clients {any;};
....
>};
>
>view "local" {
> match-clients { 192.168.1.0/24; };
....
>};
>
>But in a web browser : I can't access on any address
>Ping host.of.a.domain : host unknown
>PING 212.27.32.176 (212.27.32.176) 56(84) bytes of data.
>64 bytes from 212.27.32.176: icmp_seq=1 ttl=253 time=65.3 ms
>64 bytes from 212.27.32.176: icmp_seq=2 ttl=253 time=68.9 ms
>64 bytes from 212.27.32.176: icmp_seq=3 ttl=253 time=69.6 ms
>
>It means that my config of named failed !

Views are tried in order, and the first one that matches is used.  Since
"any" matches your local addresses, the world view is used.

Change the order so that the more specific one is first and it should work.

-- 
Barry Margolin, barry.margolin at level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


More information about the bind-users mailing list