BIND 9.1.0 Views problem

Shawn Kohrman kohrman at slb.com
Fri Feb 2 16:45:04 UTC 2001


I'm having a strange problem with my views.  Everything in the first view 
is accessible as long as the match-client is set to any.  Nothing in the 
second view is accessible.  Here's a sanitized version of my 
named.conf.  If someone could tell me what I'm doing wrong I'd appreciate 
it greatly.

acl "int" { localhost;
         172.16.0.0/16;
         192.23.164.0/24;
         192.23.165.0/24;
         192.23.166.0/24;
         192.23.168.0/24;
         212.39.165.0/28;
         10.0.0.0/8;
         };

acl "ext" { any; };

acl "zonetransfer" { 192.23.164.5;
                  192.23.166.5;
                  192.23.168.5;
                  212.39.165.5;
                  };

logging {
         channel named.log {
         file "/var/log/named.log" versions 5 size 1M;
         severity dynamic;
         print-severity yes;
         print-time yes;
         };
         category "default" { named.log; };
         category "security" { named.log; };
         category "xfer-in" { named.log; };
         category "xfer-out" { named.log; };
         category "lame-servers" { null; };
         };

options {
         directory "/var/named";
         allow-transfer { zonetransfer; };
         auth-nxdomain yes;
         };

view "pub" {
         match-clients { any; };

         zone "." {
         type hint;
         file "internet_root_nameservers";
         };

         zone "0.0.127.in-addr.arpa" {
         type master;
         file "rev.local";
         };

         zone "164.23.192.in-addr.arpa" {
         type master;
         file "reverse/164.23.192.rev";
         };

         zone "mydomain.com" {
         type master;
         file "forward/mydomain.com.hosts";
         };

         zone "houston.mydomain.com" {
         type master;
         file "forward/houston.mydomain.com.ext.hosts";
         };
};

view "private" {
         match-clients { int; };

         zone "core.mydomain.com" {
         type master;
         file "forward/core.mydomain.com.hosts";
         allow-query { int; };
         };
};




More information about the bind-users mailing list