summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2022-09-05 15:47:48 +0200
committerJonas Smedegaard <dr@jones.dk>2022-09-05 15:47:48 +0200
commitde0cdc2beec6bc67c188d16c3754e79567245380 (patch)
tree9834374d4abea59db042f4b390b179b5777aa85a
parent6dda54498eb0ede982a550cd710e1a8e9a1d06ec (diff)
enable MX record for TEENY domains oroefaellesjord.dk xn--orfllesjord-c9a6u.dk (i.e. orøfællesjord.dk)
-rw-r--r--amavis/local_domains2
-rw-r--r--bind/fake-222/TEENY10
-rw-r--r--bind/named.conf.fake-2224
-rw-r--r--bind/named.conf.pri4
-rw-r--r--bind/pri/TEENY10
5 files changed, 26 insertions, 4 deletions
diff --git a/amavis/local_domains b/amavis/local_domains
index a6fb55b..1f39248 100644
--- a/amavis/local_domains
+++ b/amavis/local_domains
@@ -7,7 +7,9 @@ jones.dk
kassandra-production.dk
majasguf.dk
omni-presence.dk
+oroefaellesjord.dk
public-e.dk
ressourceoptimering.dk
stadsvandring.dk
xn--abcdefghijklmnopqrstuvxyz-0fc0a81c.dk
+xn--orfllesjord-c9a6u.dk
diff --git a/bind/fake-222/TEENY b/bind/fake-222/TEENY
new file mode 100644
index 0000000..2ac44de
--- /dev/null
+++ b/bind/fake-222/TEENY
@@ -0,0 +1,10 @@
+$TTL 1w
+@ IN SOA localhost. root.localhost. (
+ 1
+ 4h 1h 1w 1h )
+
+$INCLUDE /etc/local-JONES.DK/bind/skel/A-teeny-222
+$INCLUDE /etc/local-JONES.DK/bind/skel/MX
+@ NS localhost.
+
+$INCLUDE /etc/local-JONES.DK/bind/skel/CNAME-teeny *
diff --git a/bind/named.conf.fake-222 b/bind/named.conf.fake-222
index 85386a8..e158d56 100644
--- a/bind/named.conf.fake-222
+++ b/bind/named.conf.fake-222
@@ -67,7 +67,7 @@ zone "oroe.dk" {
file "/etc/local-JONES.DK/bind/fake-222/oroe.dk"; }; // OROE
zone "oroefaellesjord.dk" {
type master; allow-transfer { none; };
- file "/etc/local-JONES.DK/bind/fake-222/TEENY-nomail"; }; // Orø Fællesjord
+ file "/etc/local-JONES.DK/bind/fake-222/TEENY"; }; // Orø Fællesjord
zone "public-e.dk" {
type master; allow-transfer { none; };
file "/etc/local-JONES.DK/bind/fake-222/public-e.dk"; }; // Sara Gebran
@@ -100,7 +100,7 @@ zone "xn--livetpor-f0a6q.dk" {
file "/etc/local-JONES.DK/bind/fake-222/JONES-nomail"; }; // OROE
zone "xn--orfllesjord-c9a6u.dk" {
type master; allow-transfer { none; };
- file "/etc/local-JONES.DK/bind/fake-222/TEENY-nomail"; }; // Orø Fællesjord
+ file "/etc/local-JONES.DK/bind/fake-222/TEENY"; }; // Orø Fællesjord
// int. dns.jones.dk
zone "lejlighederinc.org" {
diff --git a/bind/named.conf.pri b/bind/named.conf.pri
index 2dd7946..f32de49 100644
--- a/bind/named.conf.pri
+++ b/bind/named.conf.pri
@@ -65,7 +65,7 @@ zone "oroe.dk" {
file "/etc/local-JONES.DK/bind/pri/oroe.dk"; }; // OROE
zone "oroefaellesjord.dk" {
type master; allow-transfer { jones_peers; };
- file "/etc/local-JONES.DK/bind/pri/TEENY-nomail"; }; // Orø Fællesjord
+ file "/etc/local-JONES.DK/bind/pri/TEENY"; }; // Orø Fællesjord
zone "public-e.dk" {
type master; allow-transfer { jones_peers; };
file "/etc/local-JONES.DK/bind/pri/public-e.dk"; }; // Sara Gebran
@@ -98,7 +98,7 @@ zone "xn--livetpor-f0a6q.dk" {
file "/etc/local-JONES.DK/bind/pri/JONES-nomail"; }; // OROE
zone "xn--orfllesjord-c9a6u.dk" {
type master; allow-transfer { jones_peers; };
- file "/etc/local-JONES.DK/bind/pri/TEENY-nomail"; }; // Orø Fællesjord
+ file "/etc/local-JONES.DK/bind/pri/TEENY"; }; // Orø Fællesjord
// int. dns.jones.dk
zone "lejlighederinc.org" {
diff --git a/bind/pri/TEENY b/bind/pri/TEENY
new file mode 100644
index 0000000..557453a
--- /dev/null
+++ b/bind/pri/TEENY
@@ -0,0 +1,10 @@
+$TTL 1h
+@ SOA dns.jones.dk. dr.jones.dk. (
+ 2022090501
+ 4h 1h 1w 1h )
+
+$INCLUDE /etc/local-JONES.DK/bind/skel/NS
+$INCLUDE /etc/local-JONES.DK/bind/skel/A-teeny
+$INCLUDE /etc/local-JONES.DK/bind/skel/MX
+
+$INCLUDE /etc/local-JONES.DK/bind/skel/CNAME-teeny *