All pastes #154997 Raw Edit

Something

public text v1 · immutable
#154997 ·published 2006-08-30 19:28 UTC
rendered paste body
acl "acl-secure" {
localhost;
83.143.80.0/21;
};

acl "xfer" {
localhost;
80.65.50.171/32;
};


options {
        directory "/hsphere/local/var/named";
        listen-on { 127.0.0.1; 83.143.81.142;};
        pid-file "/hsphere/local/var/named/named.pid";
        allow-recursion { acl-secure; };
        allow-transfer { xfer; };
        version "Not available";
};



zone "." IN { type hint; file "local/named.ca"; };
zone "localhost" IN { type master; file "local/localhost.zone"; allow-update { none; }; };
zone "0.0.127.in-addr.arpa" IN { type master; file "local/named.local"; allow-update { none; }; };
zone "80.143.83.in-addr.arpa" { type slave; file "83.143.80"; masters { 80.65.50.171; };};
zone "81.143.83.in-addr.arpa" { type slave; file "83.143.81"; masters { 80.65.50.171; };};
zone "82.143.83.in-addr.arpa" { type slave; file "83.143.82"; masters { 80.65.50.171; };};
zone "83.143.83.in-addr.arpa" { type slave; file "83.143.83"; masters { 80.65.50.171; };};
zone "84.143.83.in-addr.arpa" { type slave; file "83.143.84"; masters { 80.65.50.171; };};
zone "85.143.83.in-addr.arpa" { type slave; file "83.143.85"; masters { 80.65.50.171; };};
zone "86.143.83.in-addr.arpa" { type slave; file "83.143.86"; masters { 80.65.50.171; };};
zone "87.143.83.in-addr.arpa" { type slave; file "83.143.87"; masters { 80.65.50.171; };};


include "zones_index.conf";
acl anyip{any;};

# Use with the following in named.conf, adjusting the allow list as needed:
 key "rndc-key" {
        algorithm hmac-md5;
        secret "sdflkjsdlkjsddd=";
 };

controls {
        inet 127.0.0.1 port 953
                allow { 127.0.0.1; } keys { "rndc-key"; };
 };