summaryrefslogtreecommitdiff
path: root/bind
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2017-03-24 09:41:39 +0100
committerJonas Smedegaard <dr@jones.dk>2017-03-24 09:41:39 +0100
commit27ff5f3069ce7464cfade55770c0f74ef55c97aa (patch)
treed0360e737340f67b4a40d6e55f330aa4b78a3ef2 /bind
parent94e7fd2eb7048609e489cb1549bf61508fb5658b (diff)
Use cloud hosting for omni-presence.dk.
Diffstat (limited to 'bind')
-rw-r--r--bind/fake-222/JONES-www-nomail-cloud11
-rw-r--r--bind/named.conf.fake-2222
-rw-r--r--bind/named.conf.pri2
-rw-r--r--bind/pri/JONES-www-nomail-cloud10
4 files changed, 23 insertions, 2 deletions
diff --git a/bind/fake-222/JONES-www-nomail-cloud b/bind/fake-222/JONES-www-nomail-cloud
new file mode 100644
index 0000000..5b2d0ec
--- /dev/null
+++ b/bind/fake-222/JONES-www-nomail-cloud
@@ -0,0 +1,11 @@
+$TTL 1w
+@ IN SOA localhost. root.localhost. (
+ 1
+ 1w 1d 30d 3h )
+
+@ A 163.172.142.110
+$INCLUDE /etc/local-JONES.DK/bind/skel/A-cloud
+$INCLUDE /etc/local-JONES.DK/bind/skel/MX-avoid
+ NS localhost.
+
+$INCLUDE /etc/local-JONES.DK/bind/skel/CNAME-cloud www
diff --git a/bind/named.conf.fake-222 b/bind/named.conf.fake-222
index 9ab514c..b861388 100644
--- a/bind/named.conf.fake-222
+++ b/bind/named.conf.fake-222
@@ -34,7 +34,7 @@ zone "majasguf.dk" {
file "/etc/local-JONES.DK/bind/fake-222/JONES-www+source"; }; // Jones
zone "omni-presence.dk" {
type master; allow-transfer { none; };
- file "/etc/local-JONES.DK/bind/fake-222/JONES-www-nomail"; }; // Annika Lewis
+ file "/etc/local-JONES.DK/bind/fake-222/JONES-www-nomail-cloud"; }; // Annika Lewis
zone "public-e.dk" {
type master; allow-transfer { none; };
file "/etc/local-JONES.DK/bind/fake-222/JONES-www+source+admin+media"; }; // Sara Gebran
diff --git a/bind/named.conf.pri b/bind/named.conf.pri
index 2291f2a..b49f99a 100644
--- a/bind/named.conf.pri
+++ b/bind/named.conf.pri
@@ -32,7 +32,7 @@ zone "majasguf.dk" {
file "/etc/local-JONES.DK/bind/pri/JONES-www+source"; }; // Jones
zone "omni-presence.dk" {
type master; allow-transfer { jones_peers; };
- file "/etc/local-JONES.DK/bind/pri/JONES-www-nomail"; }; // Annika Lewis
+ file "/etc/local-JONES.DK/bind/pri/JONES-www-nomail-cloud"; }; // Annika Lewis
zone "public-e.dk" {
type master; allow-transfer { jones_peers; };
file "/etc/local-JONES.DK/bind/pri/JONES-www+source+admin+media"; }; // Sara Gebran
diff --git a/bind/pri/JONES-www-nomail-cloud b/bind/pri/JONES-www-nomail-cloud
new file mode 100644
index 0000000..3c1e77e
--- /dev/null
+++ b/bind/pri/JONES-www-nomail-cloud
@@ -0,0 +1,10 @@
+$TTL 1h
+@ SOA dns.jones.dk. dr.jones.dk. (
+ 2017032401
+ 1h 30m 1w 1h )
+
+$INCLUDE /etc/local-JONES.DK/bind/skel/NS
+$INCLUDE /etc/local-JONES.DK/bind/skel/A
+$INCLUDE /etc/local-JONES.DK/bind/skel/MX-avoid
+
+$INCLUDE /etc/local-JONES.DK/bind/skel/CNAME-cloud www