From de0cdc2beec6bc67c188d16c3754e79567245380 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Mon, 5 Sep 2022 15:47:48 +0200 Subject: enable MX record for TEENY domains oroefaellesjord.dk xn--orfllesjord-c9a6u.dk (i.e. orøfællesjord.dk) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- amavis/local_domains | 2 ++ bind/fake-222/TEENY | 10 ++++++++++ bind/named.conf.fake-222 | 4 ++-- bind/named.conf.pri | 4 ++-- bind/pri/TEENY | 10 ++++++++++ 5 files changed, 26 insertions(+), 4 deletions(-) create mode 100644 bind/fake-222/TEENY create mode 100644 bind/pri/TEENY 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 * -- cgit v1.2.3