Browse Source

Implement DNS round-robin zone on Devuan infra

pull/2/head
Boian Bonev 11 months ago
committed by Ralph Ronnquist
parent
commit
b6943394e5
  1. 4
      devuan-slave.conf
  2. 9
      devuan.org.zone
  3. 19
      nsd.conf

4
devuan-slave.conf

@ -19,6 +19,10 @@ zone:
name: devuan.org
allow-notify: 10.0.10.2 NOKEY
request-xfr: 10.0.10.2 NOKEY
zone:
name: rr.devuan.org
allow-notify: 10.0.10.2 NOKEY
request-xfr: 10.0.10.2 NOKEY
zone:
name: devuan.net
allow-notify: 10.0.10.2 NOKEY

9
devuan.org.zone

@ -6,7 +6,7 @@ $ORIGIN devuan.org.
$TTL 86400
@ IN SOA ns2.devuan.dev. hostmaster.devuan.org. (
2021111507 ; serial number for this zone file
2021111901 ; serial number for this zone file
21600 ; refresh
7200 ; retry
691200 ; expire
@ -141,8 +141,15 @@ next IN CNAME static.talk.devuan.org.
; pgsql IN A 192.168.16.4 ; ? not found: 3(NXDOMAIN)
; qemu IN A 192.168.16.6 ; ? not found: 3(NXDOMAIN)
; repo IN A 192.168.16.3 ; ? not found: 3(NXDOMAIN)
; dns round robin @nexlab
roundr IN NS ns1.nexlab.net.
roundr IN NS ns2.nexlab.net.
; dns round robin on Devuan infra
rr IN NS ns2.devuan.dev.
rr IN NS ns3.devuan.dev.
rr IN NS ns4.devuan.dev.
rr IN NS ns5.devuan.dev.
rr IN NS ns6.devuan.dev.
sol IN A 188.165.207.55 ; ? ns303372.ip-188-165-207.eu.
src IN A 188.165.53.255 ; ? ip255.ip-188-165-53.eu.
; sshweb IN CNAME node1.c01.unixmedia.net. not found: 3(NXDOMAIN)

19
nsd.conf

@ -71,6 +71,25 @@ zone:
notify: 10.0.10.6 NOKEY
provide-xfr: 10.0.10.6 NOKEY
zone:
name: rr.devuan.org
zonefile: /etc/nsd/%s.zone
# Following 2 for telling secondary at 10.0.10.3
notify: 10.0.10.3 NOKEY
provide-xfr: 10.0.10.3 NOKEY
# Following 2 for telling secondary at 10.0.10.1
notify: 10.0.10.1 NOKEY
provide-xfr: 10.0.10.1 NOKEY
# Following 2 for telling secondary at 10.0.10.4
notify: 10.0.10.4 NOKEY
provide-xfr: 10.0.10.4 NOKEY
# Following 2 for telling secondary at 10.0.10.5
notify: 10.0.10.5 NOKEY
provide-xfr: 10.0.10.5 NOKEY
# Following 2 for telling secondary at 10.0.10.6
notify: 10.0.10.6 NOKEY
provide-xfr: 10.0.10.6 NOKEY
zone:
name: devuan.net
zonefile: /etc/nsd/%s.zone

Loading…
Cancel
Save