From 2540e1798e4b593c3c662d84d7f5c8e18d5ad085 Mon Sep 17 00:00:00 2001 From: randomdan Date: Wed, 22 Nov 2006 23:36:35 +0000 Subject: Remove portage config and add bind config --- etc/dns/primary.conf | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 etc/dns/primary.conf (limited to 'etc/dns/primary.conf') diff --git a/etc/dns/primary.conf b/etc/dns/primary.conf new file mode 100644 index 0000000..d9892f0 --- /dev/null +++ b/etc/dns/primary.conf @@ -0,0 +1,49 @@ +options { + directory "/var/bind"; + pid-file "/var/run/named/named.pid"; +}; + +zone "." IN { + type hint; + file "named.ca"; +}; + +zone "randomdan.homeip.net" IN { + type master; + file "pri/randomdan.homeip.net.zone"; + also-notify { 192.168.0.2; }; + allow-update { key updatekey; }; +}; + +zone "random.lan" IN { + type master; + file "pri/random.lan.zone"; + also-notify { 192.168.0.2; }; + allow-update { key updatekey; }; +}; + +zone "0.168.192.in-addr.arpa" IN { + type master; + file "pri/0.168.192.zone"; + also-notify { 192.168.0.2; }; + allow-update { key updatekey; }; +}; + +zone "localhost" IN { + type master; + file "pri/localhost.zone"; + allow-update { none; }; + notify no; +}; + +zone "127.in-addr.arpa" IN { + type master; + file "pri/127.zone"; + allow-update { none; }; + notify no; +}; + +key updatekey { + algorithm hmac-md5; + secret "df61eb0aa23833c56751a6c8f579f695"; +}; -- cgit v1.2.3