All pastes #69240 Raw Edit

Someone

public text v1 · immutable
#69240 ·published 2006-06-22 18:13 UTC
rendered paste body
acl localnet { 192.168.5.0/24; 127.0.0.1/32; };

logging {
        category default { default_syslog; default_debug; };
};

options {
        directory "/var/named";
        version "You is a fucking lamer!";
        pid-file "named.pid";
        allow-query { localnet; };
        allow-transfer { localnet; };
        listen-on { 192.168.5.1; };
        forward only;
        forwarders { 24.29.99.17; 24.29.99.18; 24.29.99.19; 24.29.99.30; };
};

zone "wearless.net" in {
        type master;
        allow-query { localnet; };
        allow-transfer { localnet; };
        allow-update { localnet; };
        file "pri/db.wearless.net";
};

zone "0.0.127.in-addr.arpa" in {
        type master;
        file "pri/db.0.0.127";
};

zone "5.168.192.in-addr.arpa" in {
        type master;
        file "pri/db.5.168.192";
        allow-query { localnet; };
        allow-update { localnet; };
        allow-transfer { localhost; };
};

zone "." in {
        type hint;
        file "namedb/root.cache";
};
# Use with the following in named.conf, adjusting the allow list as needed:
key "rndc-key" {
       algorithm hmac-md5;
       secret "hQUWAjUN1xFJSt6NmCeeEQ==";
};

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