does this look right

Brian Ventura water at bighead.org
Wed Jun 14 18:30:16 UTC 2000


Sorta, comments intermingled

"Scott.Wiseman" wrote:

> /*
> BIND8 main configuration file with slave zone statements: named.conf.slave
> */
>
> options
> {
> directory "c:\winnt4\system32\dns\etc";
>  allow-transfer { 216.184.208.175; };  'this is the primary running bind
> 4.9x
>  };
>
> /* remove/add the comment delimiters below to activate/disactivate logging
> */
>
> logging
> {
>  channel my_file {file "c:/winnt/system32/dns/log/named.run";};
>  severity debug; print-time yes;};
>  category default {my_file;};
>  category panic {my_file;};
>  category packet {my_file;};
>  category eventlib {my_file;};
>  category queries {my_file;};
> };
>
> zone "."                IN {type hint;  file "db.cache";};
>
> zone "monarchbeach-homes.com"   IN {type slave; file
> "db.monarchbeach-homes";        masters { 216.184.208.175; };};
>
> zone "216.184.208.171.IN-ADDR.ARPA"     IN {type slave; file
> "db.216.184.208.171"; masters { 216.184.208.175; };};
>

Here you are stating an IP for a range file.  The range is 171.208.184 and
the IP is 216?  First, in the zone name you have to reverse the IP range, and
second the zone isthe class C.  So here is a proper line.

zone "208.184.216.in-addr.arpa" in {
    type slave;
    file "db.216.184.208";
   ...

note I have a class C named and then I have the IP octets reversed in the
zone declaration.  The file declaration is arbitrary, you can call it
"hi.mom" or whatever.

>
> zone "0.0.127.IN-ADDR.ARPA" IN {type master;    file "db.127.0.0";};

--
- water at bighead.org
- World's Greatest Speler






More information about the bind-users mailing list