diff options
author | Aaron LI <aly@aaronly.me> | 2018-02-22 00:25:36 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-03-14 11:28:44 +0800 |
commit | 71dfbbe0291218bcb3ffaa9997d8aaf6d98a3259 (patch) | |
tree | 4a72066a9bb5985524d2c0d3b974a7ace855d55f /roles/dns/templates/zones/1314233.xyz.zone.j2 | |
parent | 6e2c2eb10093938e02a0d44726f71f82c7ffc5b8 (diff) | |
download | ansible-dfly-vps-71dfbbe0291218bcb3ffaa9997d8aaf6d98a3259.tar.bz2 |
role/dns: configure NSD as the stealth master with 2 domains
* Add "network" and "nsd" variables
* Install and configure NSD as the authoritative stealth master server
* Allow notify and transfer to slave masters:
- freedns.afraid.org
- 1984hosting.com
* Add preliminary zone files for domains:
- 233233.xyz
- 1314233.xyz
Diffstat (limited to 'roles/dns/templates/zones/1314233.xyz.zone.j2')
-rw-r--r-- | roles/dns/templates/zones/1314233.xyz.zone.j2 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/roles/dns/templates/zones/1314233.xyz.zone.j2 b/roles/dns/templates/zones/1314233.xyz.zone.j2 new file mode 100644 index 0000000..ede92da --- /dev/null +++ b/roles/dns/templates/zones/1314233.xyz.zone.j2 @@ -0,0 +1,21 @@ +$ORIGIN 1314233.xyz. +$TTL 1h + +@ IN SOA ns.1314233.xyz. admin.1314233.xyz. ( + 2018022120 ; serial number + 1d ; refresh + 2h ; retry + 4w ; expire + 1h ; minimum TTL + ) + +@ IN NS ns2.afraid.org. + +@ IN A {{ network.ipv4.address }} +@ IN AAAA {{ network.ipv6.address }} + +www IN CNAME www.233233.xyz. +g IN CNAME g.233233.xyz. +zw IN CNAME zw.233233.xyz. + +; vim: set ft=bindzone : |