BIND 9.1.0 Views problem

Ladislav Bukvicka Ladislav.Bukvicka at eunet.cz
Mon Feb 5 14:03:04 UTC 2001



The problem is in the fact that you cannot reach root nameservers.
One of solutions is remove hint zone from specified view and put it
before views. Or you can define your own hint zone into your private view.

pukvis



Shawn Kohrman wrote:
> I've tried that.  When I do, nslookup gives the error "cannot find address 
> of server 192.23.164.5"  "default servers unavailable".  :(  Thanks for the 
> input though...
> 
> At 06:08 PM 2/2/2001 +0100, you wrote:
> 
> >Try to change order of views in your config file. It should help you.
> >
> >*** cut from Bv9ARM.ch06.html ***
> >  The order of the view statements is significant-a client query will be 
> > resolved in the context of the first view whose ma
> >tch-clients list matches the client's IP address.
> >*** end of cut from Bv9ARM.ch06.html ***
> >
> >regards,
> >pukvis
> >
> >Shawn Kohrman wrote:
> > >
> > > 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; };
> > >          };
> > > };
> > >
> > >
> > >
> > >
> >
> >
> >--
> >  - - = = = = K P N Q w e s t  C z e c h i a  s. r. o. = = = - -
> >====== ____                            = Ladislav Bukvicka ======
> >===== /      /   /   ___    ___  _/_  == Gen. Janouska  902 =====
> >==== /----  /   /  /   /  /___/  /   === Prague 9,Czech Rep. ====
> >=== /____  /___/  /   /  /___   /   ==== fax:+420(2) 81081082 ===
> >==                                 ===== tel.:+420(2) 81081081 ==
> >=  Connecting Europe since 1982   ====== e-mail:pukvis at eunet.cz =
> 
> Shawn Kohrman
> Consulting Manager
> CCNA, CCSA, CCSE
> Schlumberger Omnes Consulting Services
> 5599 San Felipe  Suite 400
> Houston, TX  77056
> Phone:  713-499-6583
> Fax:      713-513-3126
> 
> 
> 
> 


-- 
 - - = = = = K P N Q w e s t  C z e c h i a  s. r. o. = = = - - 
====== ____                            = Ladislav Bukvicka ======
===== /      /   /   ___    ___  _/_  == Gen. Janouska  902 =====
==== /----  /   /  /   /  /___/  /   === Prague 9,Czech Rep. ====
=== /____  /___/  /   /  /___   /   ==== fax:+420(2) 81081082 === 
==                                 ===== tel.:+420(2) 81081081 ==
=  Connecting Europe since 1982   ====== e-mail:pukvis at eunet.cz =


More information about the bind-users mailing list