Skip to content

Instantly share code, notes, and snippets.

@lkmhaqer
Created September 7, 2016 16:35
Show Gist options
  • Save lkmhaqer/b5548add15221f7dc49fd4bf8f948024 to your computer and use it in GitHub Desktop.
Save lkmhaqer/b5548add15221f7dc49fd4bf8f948024 to your computer and use it in GitHub Desktop.
include "/etc/rndc.key";
controls {
inet 127.0.0.1 port 953 allow {127.0.0.1;} keys {"rndc-key";};
};
lwres {
listen-on {127.0.0.1;};
view default;
};
Logging {
category default {default_syslog; null;};
category unmatched {null;};
};
options {
directory "/var/named";
pid-file "/var/run/named/pid";
dump-file "/var/run/named/named_dump.db";
statistics-file "/var/run/named/named.stats";
listen-on {192.168.137.62; 192.168.137.126; 192.168.137.190; 192.168.138.0; };
listen-on-v6 {::1; 2001:470:b8ff:101::1; fe80::20c:2900:650d:32f6; };
allow-query-on {192.168.137.62; 192.168.137.126; 192.168.137.190; 192.168.138.0; 2001:470:b8ff:101::1; fe80::20c:2900:650d:32f6; };
max-cache-ttl 604800;
max-ncache-ttl 10800;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment