From a6ee39bd3534736436ba76aaac3e65fa99a56aec Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 23 May 2014 19:33:20 +0100 Subject: Initial commit --- kyriasis.com.zone | 61 +++++++++++++++++++++++++++++++++++++++++++++++ lucifer.kyriasis.com.zone | 9 +++++++ named-slave.conf | 61 +++++++++++++++++++++++++++++++++++++++++++++++ named.conf | 59 +++++++++++++++++++++++++++++++++++++++++++++ theos.kyriasis.com.zone | 13 ++++++++++ 5 files changed, 203 insertions(+) create mode 100644 kyriasis.com.zone create mode 100644 lucifer.kyriasis.com.zone create mode 100644 named-slave.conf create mode 100644 named.conf create mode 100644 theos.kyriasis.com.zone diff --git a/kyriasis.com.zone b/kyriasis.com.zone new file mode 100644 index 0000000..faf1225 --- /dev/null +++ b/kyriasis.com.zone @@ -0,0 +1,61 @@ +; vi: ft=bindzone:ts=8:sw=8:nowrap:noet +$ORIGIN kyriasis.com. +$TTL 2h +; kyriasis.com + +@ IN SOA theos.kyriasis.com. hostmaster ( + 7 ; serial + 4h ; refresh + 1h ; retry + 1w ; expire + 1h ; minttl + ) + NS ns1.kyriasis.com. + NS ns2.kyriasis.com. + + ; -> lucifer.kyriasis.com + A 178.79.157.58 + AAAA 2a01:7e00::f03c:91ff:fe69:1787 + +NS1 A 212.71.254.33 +NS1 AAAA 2a01:7e00::f03c:91ff:fe6e:f996 +NS2 A 178.79.157.58 +NS2 AAAA 2a01:7e00::f03c:91ff:fe69:1787 + +www CNAME kyriasis.com. + +; Mail +@ MX 5 theos.kyriasis.com. +@ MX 20 lucifer.kyriasis.com. + +@ TXT "v=spf1 a mx ~all" + SPF "v=spf1 a mx ~all" + +theos._domainkey TXT "k=rsa; t=s; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDp4YIk0oJEW1PbPBwCEr8o/e7koQ57jHLmBml1nRKwcBSH/TIkuqz85YYT72s88LaXVlaz2JDygT43edcD/kBxPPDXAqfME8PRGxXi5X2nmyhbCBT+Q5w0kiPkbGOta8pes1Ger1tUIcvRWhuiqX5QHB0pY/cJ+rBBPb7VGqjHLwIDAQABoQ57jHLmBml1nRKwcBSH/TIku" +lucifer._domainkey TXT "k=rsa; t=s; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCurY0mrJZT5KKUYDfXkceauC2lLGk0E6z75bq0IcPcoNNrXbHIYQMuN5VMulrXv3qF6lbcJwA87XnvE7uS7471fmEYXluOZ2A+HdPm/W/LL1Z9De4LTgt45AWzanczDGxekh5hdy/VCwkxw1Kq6TA9G1fPJTF2sVvqo8JHNoI5swIDAQAB" + +; Kerberos +_kerberos TXT "KYRIASIS.COM" + +_kerberos._udp SRV 0 0 88 theos.kyriasis.com. + +_kerberos._tcp SRV 0 0 88 theos.kyriasis.com. + +_kerberos-master._tcp SRV 0 0 88 theos.kyriasis.com. + +_kerberos-adm._tcp SRV 0 0 749 theos.kyriasis.com. + +_kpasswd._udp SRV 0 0 464 theos.kyriasis.com. + +_kpasswd._tcp SRV 0 0 464 theos.kyriasis.com. + +$INCLUDE "/home/kyrias/dns/theos.kyriasis.com.zone" +$INCLUDE "/home/kyrias/dns/lucifer.kyriasis.com.zone" + + +zeth A 213.141.70.53 +arch NS ns1.he.net. + NS ns2.he.net. + NS ns3.he.net. + NS ns4.he.net. + NS ns5.he.net. diff --git a/lucifer.kyriasis.com.zone b/lucifer.kyriasis.com.zone new file mode 100644 index 0000000..bb66e84 --- /dev/null +++ b/lucifer.kyriasis.com.zone @@ -0,0 +1,9 @@ +; vi: ft=bindzone:ts=8:sw=8:nowrap:noet +$ORIGIN lucifer.kyriasis.com. +@ A 178.79.157.58 + AAAA 2a01:7e00::f03c:91ff:fe69:1787 + +; Mail + MX 5 lucifer.kyriasis.com. + SPF "v=spf1 a mx ~all" + TXT "v=spf1 a mx ~all" diff --git a/named-slave.conf b/named-slave.conf new file mode 100644 index 0000000..9e2aece --- /dev/null +++ b/named-slave.conf @@ -0,0 +1,61 @@ +// vi: ft=named + +options { + directory "/var/named"; + pid-file "/run/named/named.pid"; + auth-nxdomain yes; + datasize default; + listen-on-v6 { any; }; + allow-query-cache { none; }; + allow-query { any; }; + allow-transfer { none; }; + allow-update { none; }; + recursion no; + version none; + hostname none; + server-id none; + allow-notify { + 212.71.254.33; // theos + 2a01:7e00::f03c:91ff:fe6e:f996; // theos + }; +}; + +zone "localhost" IN { + type master; + file "localhost.zone"; + allow-transfer { any; }; +}; + +zone "0.0.127.in-addr.arpa" IN { + type master; + file "127.0.0.zone"; + allow-transfer { any; }; +}; + +zone "." IN { + type hint; + file "root.hint"; +}; + +zone "kyriasis.com" { + type slave; + file "kyriasis.com.zone"; + masters { + 212.71.254.33; // theos + 2a01:7e00::f03c:91ff:fe6e:f996; // theos + }; +}; + +logging { + channel xfer-log { + file "/var/log/named.log"; + print-category yes; + print-severity yes; + print-time yes; + severity info; + }; + category xfer-in { xfer-log; }; + category xfer-out { xfer-log; }; + category notify { xfer-log; }; +}; + diff --git a/named.conf b/named.conf new file mode 100644 index 0000000..4d903e3 --- /dev/null +++ b/named.conf @@ -0,0 +1,59 @@ +// vim: ft=named + +options { + directory "/var/named"; + pid-file "/run/named/named.pid"; + auth-nxdomain yes; + datasize default; + listen-on-v6 { any; }; + allow-query-cache { none; }; + allow-query { any; }; + allow-transfer { none; }; + allow-update { none; }; + recursion no; + version none; + hostname none; + server-id none; + notify no; + also-notify {178.79.157.58;}; +}; + +zone "localhost" IN { + type master; + file "localhost.zone"; + allow-transfer { any; }; +}; + +zone "0.0.127.in-addr.arpa" IN { + type master; + file "127.0.0.zone"; + allow-transfer { any; }; +}; + +zone "." IN { + type hint; + file "root.hint"; +}; + +zone "kyriasis.com" IN { + type master; + file "/home/kyrias/dns/kyriasis.com.zone"; + allow-transfer { + 178.79.157.58; // lucifer + 2a01:7e00::f03c:91ff:fe69:1787; // lucifer + }; + notify explicit; +}; + +logging { + channel xfer-log { + file "/var/log/named.log"; + print-category yes; + print-severity yes; + print-time yes; + severity info; + }; + category xfer-in { xfer-log; }; + category xfer-out { xfer-log; }; + category notify { xfer-log; }; +}; diff --git a/theos.kyriasis.com.zone b/theos.kyriasis.com.zone new file mode 100644 index 0000000..ec0e2b7 --- /dev/null +++ b/theos.kyriasis.com.zone @@ -0,0 +1,13 @@ +; vi: ft=bindzone:ts=8:sw=8:nowrap:noet + +theos A 212.71.254.33 + AAAA 2a01:7e00::f03c:91ff:fe6e:f996 + +; Mail + MX 5 theos.kyriasis.com. + SPF "v=spf1 a mx ~all" + TXT "v=spf1 a mx ~all" +theos._domainkey.theos TXT "k=rsa; t=s; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDp4YIk0oJEW1PbPBwCEr8o/e7koQ57jHLmBml1nRKwcBSH/TIkuqz85YYT72s88LaXVlaz2JDygT43edcD/kBxPPDXAqfME8PRGxXi5X2nmyhbCBT+Q5w0kiPkbGOta8pes1Ger1tUIcvRWhuiqX5QHB0pY/cJ+rBBPb7VGqjHLwIDAQABoQ57jHLmBml1nRKwcBSH/TIku" + +johannes._keybase TXT "keybase-site-verification=-j0boGdp2IlmB5yi8bcMxh6llifeIwJXFoDQXvlucGE" +johannes._pka TXT "v=pka1;fpr=5134EF9EAF65F95B6BB1608E50FB9B273A9D0BB5;uri=https://theos.kyriasis.com/~kyrias/pgp-key.txt" -- cgit v1.2.3-54-g00ecf