Using view statement

M A Cinense mark at cinense.org
Wed Nov 7 20:35:53 UTC 2001


Well,
	I made the change to my named.conf file, but now get this in my message
log.

Named.conf file

#########################
## Internal Network View
#########################

view "internal" {
        match-clients { 192.168.100/24; };

##############################
## CINENSE.ORG INTERNAL ZONES
##############################
        zone "cinense.org" {
                type master;
                file "db.cinense-irn.org";
        };

        zone "168.192.in-addr.arpa" {
                type master;
                file "db.168.192.int";
        };

};

#################
## EXTERNAL View
#################

view "external" {
        match-clients { any; };
        recursion no;

#########################
## CINENSE.ORG OTHERS
#########################
        zone "cinense.org" {
                type master;
                file "db.cinense.org";
        };

        zone "168.192.in-addr.arpa" {
                type master;
                file "db.168.192";
        };
};


MESSAGE Log

Nov  7 13:24:41 ns3 named[71717]: when using 'view' statements, all zones
must be in views
Nov  7 13:24:41 ns3 named[71717]: loading configuration: failure
Nov  7 13:24:41 ns3 named[71717]: exiting (due to fatal error)

Now what am I doing wrong...

Thanks,

Mark



More information about the bind-users mailing list