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 /host_vars/vultr | |
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 'host_vars/vultr')
-rw-r--r-- | host_vars/vultr | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/host_vars/vultr b/host_vars/vultr index 630d3a2..7c683b5 100644 --- a/host_vars/vultr +++ b/host_vars/vultr @@ -3,10 +3,30 @@ ansible_ssh_host: vultr.liwt.net ansible_ssh_port: 8864 ansible_python_interpreter: /usr/local/bin/python2.7 +network: + interface: vtnet0 + ipv4: + address: 45.77.201.74 + netmask: 255.255.254.0 + gateway: 45.77.200.1 + ipv6: + address: 2001:19f0:5:3166::c0f:fee + prefixlen: 64 + shadowsocks: server_port: 8989 password: "???" method: "chacha20-ietf-poly1305" nameserver: "8.8.8.8" +nsd: + # Secret key for TSIGs that secure zone transfers. + key_name: nsdkey + # Generate by e.g.: dd if=/dev/random bs=32 count=1 | openssl base64 + key_secret: cuE2ZtReggzlaVzCmD0VWAnZp494x0KnPG4pSTU63LE= + # Domains/zones + zones: + - 233233.xyz + - 1314233.xyz + # vim: set ft=yaml sw=2: # |