From 71dfbbe0291218bcb3ffaa9997d8aaf6d98a3259 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Thu, 22 Feb 2018 00:25:36 +0800 Subject: 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 --- host_vars/vultr | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'host_vars') 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: # -- cgit v1.2.2