Using view statement

chrism at sea.checkpoint.com chrism at sea.checkpoint.com
Wed Nov 7 20:06:28 UTC 2001


Mark,

You need to put your zone statements within their respective view 
statements.  From the BIND 9 ARM (Administrator Reference Manual):

6.2.19. view Statement Grammar

view view_name [class] {
       match-clients { address_match_list } ;
       [ view_option; ...]
       [ zone-statistics yes_or_no ; ]
       [ zone_statement; ...]
};

You can download the BIND 9 ARM here:

http://www.nominum.com/resources/documentation/Bv9ARM.pdf

Hope this helps!

- Chris

--
          Chris Moore  --  chrism at sea.checkpoint.com
Check Point Software Technologies, Inc.  --   The Meta IP Group
      http://www.checkpoint.com/products/metaip/index.html


On Wed, 07 Nov 2001 11:56:33 M A Cinense wrote:
- Trying to use the view statement, but my log file keeps saying
- - Nov  7 12:47:33 ns3 named[71638]: starting BIND 9.1.3
- Nov  7 12:47:33 ns3 named[71638]: zone configuration for 'cinense.org'
- failed: already exists
- Nov  7 12:47:33 ns3 named[71638]: loading configuration: failure
- Nov  7 12:47:33 ns3 named[71638]: exiting (due to fatal error)
- - My named.conf file looks like this.
- - - #########################
- ## 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";
- };
- - Can someone tell me what I am doing wrong.
- - Thanks,
- - Mark
- - - - -- Binary/unsupported file stripped by Listar --
- -- Type: application/ms-tnef
- -- File: winmail.dat
- - - 


More information about the bind-users mailing list