named.conf for Master

logging {
         category lame-servers {null;};
};


options {
    directory "/etc/named";
    
    // Who can transfer files

    allow-transfer {
        172.66.66.4;
        191.168.0.4;  
        153.90.192.0/21;
    };
};

# Allow local rndc and require

controls {
        inet 127.0.0.1 allow { localhost; } keys { rndc_key; };
};

key "rndc_key" {
        algorithm hmac-md5;
        secret "c3Ryb25nIGVub3VnaCBmb3IgYSBtYW4gYnV0IG1hZGUgZm9yIGEgd29tYW4K";
};

acl "LocalServers" {
        153.90.192/21;192.168.1.3;192.168.1.44;192.168.1.254;
};


zone "csnet.org" {
   type master;
   file "csnet.db"; 
   allow-transfer {LocalServers;};
};

zone "0.199.90.153.in-addr.arpa   {
   type master;
   file "csnet-rev.db;
   allow-transfer {LocalServers;};
};

zone "." {
          type hint;
          file "named.cache";
};

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