diff options
author | Matthieu Saulnier <casper@casperlefantom.net> | 2019-10-06 13:18:57 +0200 |
---|---|---|
committer | Matthieu Saulnier <casper@casperlefantom.net> | 2019-10-06 13:18:57 +0200 |
commit | 45d1564a1c6a1411b7c2353cb549171ee008d027 (patch) | |
tree | b00cc37457e218aea2c4ae3e8cf3db496d410edf /roles | |
parent | 74fd28a881b3e7243fdc4aa49affdab2cd891a13 (diff) | |
download | playbooks-ansible-45d1564a1c6a1411b7c2353cb549171ee008d027.tar.gz playbooks-ansible-45d1564a1c6a1411b7c2353cb549171ee008d027.tar.xz playbooks-ansible-45d1564a1c6a1411b7c2353cb549171ee008d027.zip |
update ipv4 address and reverse
Diffstat (limited to 'roles')
-rw-r--r-- | roles/dnsserver/files/136.164.64.82.in-addr.arpa.zone | 14 | ||||
-rw-r--r-- | roles/dnsserver/files/admin.casperlefantom.net.zone | 10 | ||||
-rw-r--r-- | roles/dnsserver/files/casperlefantom.net.zone | 38 | ||||
-rw-r--r-- | roles/dnsserver/files/home.casperlefantom.net.zone | 4 | ||||
-rw-r--r-- | roles/dnsserver/vars/main.yml | 4 |
5 files changed, 42 insertions, 28 deletions
diff --git a/roles/dnsserver/files/136.164.64.82.in-addr.arpa.zone b/roles/dnsserver/files/136.164.64.82.in-addr.arpa.zone new file mode 100644 index 0000000..81994bb --- /dev/null +++ b/roles/dnsserver/files/136.164.64.82.in-addr.arpa.zone @@ -0,0 +1,14 @@ +$ttl 86400 +@ IN SOA nse.casperlefantom.net. hostmaster.casperlefantom.net. ( + 2019100600; + 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 NS nse.casperlefantom.net. + IN PTR nsa.casperlefantom.net. diff --git a/roles/dnsserver/files/admin.casperlefantom.net.zone b/roles/dnsserver/files/admin.casperlefantom.net.zone index 2bf1a1d..f0e8b39 100644 --- a/roles/dnsserver/files/admin.casperlefantom.net.zone +++ b/roles/dnsserver/files/admin.casperlefantom.net.zone @@ -1,6 +1,6 @@ $ttl 86400 admin.casperlefantom.net. IN SOA nse.admin.casperlefantom.net. hostmaster.casperlefantom.net. ( -2019092801 +2019100600 10800 3600 604800 @@ -11,16 +11,16 @@ admin.casperlefantom.net. IN SOA nse.admin.casperlefantom.net. hostmaster.casper @ IN NS nsd.admin.casperlefantom.net. @ IN NS nse.admin.casperlefantom.net. -@ IN A 91.171.89.115 +@ IN A 82.64.164.136 @ IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: @ IN CAA 128 issue "Matthieu Saulnier Root CA" -manchester IN A 91.171.89.115 +manchester IN A 82.64.164.136 manchester IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: * IN CNAME manchester -nsa IN A 91.171.89.115 +nsa IN A 82.64.164.136 nsa IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: nsb IN A 178.170.58.2 @@ -51,7 +51,7 @@ sd-94125 IN A 163.172.211.128 sd-94125 IN AAAA 2001:bc8:3fec:b00:b007:: -bt1 IN A 91.171.89.115 +bt1 IN A 82.64.164.136 bt1 IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: bt2 IN A 51.15.179.153 diff --git a/roles/dnsserver/files/casperlefantom.net.zone b/roles/dnsserver/files/casperlefantom.net.zone index 2ed6d53..e9e36fa 100644 --- a/roles/dnsserver/files/casperlefantom.net.zone +++ b/roles/dnsserver/files/casperlefantom.net.zone @@ -1,6 +1,6 @@ $ttl 86400 casperlefantom.net. IN SOA nse.casperlefantom.net. hostmaster.casperlefantom.net. ( -2019092801 ; serial number +2019100600 ; serial number 86400 ; refresh 3600 ; retry 1209600 ; expire @@ -24,7 +24,7 @@ admin IN NS nse.admin.casperlefantom.net. @ IN MX 40 mx2.casperlefantom.net. @ IN A 178.170.58.2 @ IN AAAA 2a00:c70:1:178:170:58:2:b50d -@ IN TXT "v=spf1 mx mx:casperlefantom.net mx:jaysfoodventure.com ip4:91.171.89.115 ip6:2a01:e0a:2d6:5cc0:fed:0:: -all" +@ IN TXT "v=spf1 mx mx:casperlefantom.net mx:jaysfoodventure.com ip4:82.64.164.136 ip6:2a01:e0a:2d6:5cc0:fed:0:: -all" @ IN CAA 128 issue "letsencrypt.org" @@ -32,7 +32,7 @@ home IN A 192.168.0.25 home IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: nsa.home.casperlefantom.net. IN A 192.168.0.25 nsa.home.casperlefantom.net. IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: -nsb.home.casperlefantom.net. IN A 91.171.89.115 +nsb.home.casperlefantom.net. IN A 82.64.164.136 nsb.home.casperlefantom.net. IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: nsc.home.casperlefantom.net. IN A 178.170.58.2 nsc.home.casperlefantom.net. IN AAAA 2a00:c70:1:178:170:58:2:b50d @@ -44,9 +44,9 @@ nsf.home.casperlefantom.net. IN A 163.172.211.128 nsf.home.casperlefantom.net. IN AAAA 2001:bc8:3fec:b00:b007:: -admin IN A 91.171.89.115 +admin IN A 82.64.164.136 admin IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: -nsa.admin.casperlefantom.net. IN A 91.171.89.115 +nsa.admin.casperlefantom.net. IN A 82.64.164.136 nsa.admin.casperlefantom.net. IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: nsb.admin.casperlefantom.net. IN A 178.170.58.2 nsb.admin.casperlefantom.net. IN AAAA 2a00:c70:1:178:170:58:2:b50d @@ -71,36 +71,36 @@ _dmarc IN TXT "v=DMARC1;p=reject;sp=reject;adkim=r;aspf=r" "IyAem1/kdOOCw47yYzGmZtIzBNYHJyWeSS7c4SUZNDjR09az+jPH5ZEpti7kJywHDtFvunLTohGLy+RtKrm7o23SY2aBpF4yYHcBFcQIlgPSOEXK0nXVDNlQbRPLsFsT3JKRVBAOSEjGjpYsv6vetSthnxigfWOD3QUQ+qEAUtrGf9d20xhrm0DB5ezs67Ty4pJL2swun8XlKPMmD+lHX0Qfy6Djegr1uvMCAwEAAQ==" ) ; ----- DKIM key 201708 for casperlefantom.net -ns1 IN A 91.171.89.115 +ns1 IN A 82.64.164.136 ns1 IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: ns1 IN TXT "d72vewh3wa4lwpaj.onion" -nsa IN A 91.171.89.115 +nsa IN A 82.64.164.136 nsa IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: nsa IN TXT "d72vewh3wa4lwpaj.onion" -ntp1 IN A 91.171.89.115 +ntp1 IN A 82.64.164.136 ntp1 IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: -manchester IN A 91.171.89.115 +manchester IN A 82.64.164.136 manchester IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: manchester IN TXT "d72vewh3wa4lwpaj.onion" -mail IN A 91.171.89.115 +mail IN A 82.64.164.136 mail IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: -mail IN TXT "v=spf1 a a:mail.casperlefantom.net ip4:91.171.89.115 ip6:2a01:e0a:2d6:5cc0:fed:0:: -all" +mail IN TXT "v=spf1 a a:mail.casperlefantom.net ip4:82.64.164.136 ip6:2a01:e0a:2d6:5cc0:fed:0:: -all" -mx1 IN A 91.171.89.115 +mx1 IN A 82.64.164.136 mx1 IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: -mx1 IN TXT "v=spf1 a a:mx1.casperlefantom.net ip4:91.171.89.115 ip6:2a01:e0a:2d6:5cc0:fed:0:: -all" +mx1 IN TXT "v=spf1 a a:mx1.casperlefantom.net ip4:82.64.164.136 ip6:2a01:e0a:2d6:5cc0:fed:0:: -all" -smtp IN A 91.171.89.115 +smtp IN A 82.64.164.136 smtp IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: -imap IN A 91.171.89.115 +imap IN A 82.64.164.136 imap IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: -voip IN A 91.171.89.115 +voip IN A 82.64.164.136 voip IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: _matrix._tcp IN SRV 5 0 8448 manchester.casperlefantom.net. @@ -110,15 +110,15 @@ dl IN AAAA 2a00:c70:1:178:170:58:2:b50d dl IN TXT "mwyjtiphky5em4yp.onion" -mirror IN A 91.171.89.115 +mirror IN A 82.64.164.136 mirror IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: mirror IN TXT "pmstfd4f6s5bm2xq.onion" -jabber IN A 91.171.89.115 +jabber IN A 82.64.164.136 jabber IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: -conference IN A 91.171.89.115 +conference IN A 82.64.164.136 conference IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: _xmpp-client._tcp IN SRV 5 0 5222 jabber.casperlefantom.net. diff --git a/roles/dnsserver/files/home.casperlefantom.net.zone b/roles/dnsserver/files/home.casperlefantom.net.zone index d3b391f..ccf6f3d 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 nsf.home.casperlefantom.net. hostmaster.casperlefantom.net. ( -2019100502 +2019100600 10800 3600 604800 @@ -20,7 +20,7 @@ home.casperlefantom.net. IN SOA nsf.home.casperlefantom.net. hostmaster.casperle nsa IN A 192.168.0.25 nsa IN A 10.42.0.52 nsa IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: -nsb IN A 91.171.89.115 +nsb IN A 82.64.164.136 nsb IN AAAA 2a01:e0a:2d6:5cc0:fed:0:: nsc IN A 178.170.58.2 nsc IN AAAA 2a00:c70:1:178:170:58:2:b50d diff --git a/roles/dnsserver/vars/main.yml b/roles/dnsserver/vars/main.yml index 01547d2..228d6a5 100644 --- a/roles/dnsserver/vars/main.yml +++ b/roles/dnsserver/vars/main.yml @@ -7,7 +7,7 @@ masterlist: whitelist: - localhost - 192.168.0.0/24 - - 91.171.89.115 + - 82.64.164.136 - 2a01:e0a:2d6:5cc0::/64 - 178.170.58.2 - 2a00:c70:1:178:170:58:2:b50d/128 @@ -25,7 +25,7 @@ zonelist: - admin.casperlefantom.net reversezonelist: - - 115.89.171.91.in-addr.arpa + - 136.164.64.82.in-addr.arpa - 0.0.0.0.0.0.0.0.0.0.0.0.d.e.f.0.0.c.c.5.6.d.2.0.a.0.e.0.1.0.a.2.ip6.arpa - 54.0.168.192.in-addr.arpa - 0.0.0.0.0.0.0.0.1.0.0.0.d.e.f.0.0.c.c.5.6.d.2.0.a.0.e.0.1.0.a.2.ip6.arpa |