summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthieu Saulnier <fantom@fedoraproject.org>2018-06-17 13:49:04 +0200
committerMatthieu Saulnier <fantom@fedoraproject.org>2018-06-17 13:49:04 +0200
commitc22a804ffe6365f4c03b04bb78b6bc55bb62433f (patch)
treeabb6b9df58803f353c3bb186279f2247221c9d56
parent12ac5be39b0dd4cf39dfcb905886a4bb691ee262 (diff)
downloadplaybooks-ansible-c22a804ffe6365f4c03b04bb78b6bc55bb62433f.zip
playbooks-ansible-c22a804ffe6365f4c03b04bb78b6bc55bb62433f.tar.gz
playbooks-ansible-c22a804ffe6365f4c03b04bb78b6bc55bb62433f.tar.xz
Add new subdomain and reverse in home dns zone
-rw-r--r--roles/dnsserver/files/52.0.42.10.in-addr.arpa.zone13
-rw-r--r--roles/dnsserver/files/home.casperlefantom.net.zone5
-rw-r--r--roles/dnsserver/vars/main.yml1
3 files changed, 18 insertions, 1 deletions
diff --git a/roles/dnsserver/files/52.0.42.10.in-addr.arpa.zone b/roles/dnsserver/files/52.0.42.10.in-addr.arpa.zone
new file mode 100644
index 0000000..73049c2
--- /dev/null
+++ b/roles/dnsserver/files/52.0.42.10.in-addr.arpa.zone
@@ -0,0 +1,13 @@
+$ttl 86400
+@ IN SOA nsa.casperlefantom.net. hostmaster.casperlefantom.net. (
+ 2018061600;
+ 28800;
+ 604800;
+ 604800;
+ 86400);
+
+ IN NS nsa.casperlefantom.net.
+ IN NS nsb.casperlefantom.net.
+ IN NS nsc.casperlefantom.net.
+ IN NS nsd.casperlefantom.net.
+ IN PTR fallback.home.casperlefantom.net.
diff --git a/roles/dnsserver/files/home.casperlefantom.net.zone b/roles/dnsserver/files/home.casperlefantom.net.zone
index 3a66f81..07f2730 100644
--- a/roles/dnsserver/files/home.casperlefantom.net.zone
+++ b/roles/dnsserver/files/home.casperlefantom.net.zone
@@ -1,6 +1,6 @@
$ttl 86400
home.casperlefantom.net. IN SOA nsa.home.casperlefantom.net. hostmaster.casperlefantom.net. (
-2018051900
+2018061600
10800
3600
604800
@@ -79,3 +79,6 @@ cirrus IN AAAA 2a01:e35:2f76:7750::4
nimbus IN A 192.168.0.25
nimbus IN AAAA 2a01:e35:2f76:7750::4
+
+fallback IN A 10.42.0.52
+fallback IN TXT "domain name servers are reachable"
diff --git a/roles/dnsserver/vars/main.yml b/roles/dnsserver/vars/main.yml
index dde2ed9..2707d1c 100644
--- a/roles/dnsserver/vars/main.yml
+++ b/roles/dnsserver/vars/main.yml
@@ -38,6 +38,7 @@ zonelist:
- 25.0.168.192.in-addr.arpa
- 51.0.168.192.in-addr.arpa
- 51.0.42.10.in-addr.arpa
+ - 52.0.42.10.in-addr.arpa
- 54.0.168.192.in-addr.arpa
domainlist: