diff options
author | randomdan <randomdan@localhost> | 2006-11-22 23:36:35 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2006-11-22 23:36:35 +0000 |
commit | 2540e1798e4b593c3c662d84d7f5c8e18d5ad085 (patch) | |
tree | 9f123307dad4c1704947cf17371efc9de52208c3 /etc/dns | |
parent | Use a sensible name getting users from (diff) | |
download | config-2540e1798e4b593c3c662d84d7f5c8e18d5ad085.tar.bz2 config-2540e1798e4b593c3c662d84d7f5c8e18d5ad085.tar.xz config-2540e1798e4b593c3c662d84d7f5c8e18d5ad085.zip |
Remove portage config and add bind config
Diffstat (limited to 'etc/dns')
-rw-r--r-- | etc/dns/backup.conf | 43 | ||||
-rw-r--r-- | etc/dns/primary.conf | 49 |
2 files changed, 92 insertions, 0 deletions
diff --git a/etc/dns/backup.conf b/etc/dns/backup.conf new file mode 100644 index 0000000..1f58dac --- /dev/null +++ b/etc/dns/backup.conf @@ -0,0 +1,43 @@ +options { + directory "/var/bind"; + pid-file "/var/run/named/named.pid"; +}; + +zone "." IN { + type hint; + file "named.ca"; +}; + +zone "randomdan.homeip.net" IN { + type slave; + masters { 192.168.0.3; }; +}; + +zone "random.lan" IN { + type slave; + masters { 192.168.0.3; }; +}; + +zone "randomdan.lan" IN { + type slave; + masters { 192.168.0.3; }; +}; + +zone "localhost" IN { + type master; + file "pri/localhost.zone"; + allow-update { none; }; + notify no; +}; + +zone "0.168.192.in-addr.arpa" IN { + type slave; + masters { 192.168.0.3; }; +}; + +zone "127.in-addr.arpa" IN { + type master; + file "pri/127.zone"; + allow-update { none; }; + notify no; +}; 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"; +}; |