Browse Source

add test.devuan.dev for trying out control-zone

also update nsd.conf to include round-robin: yes
master
B Stack 9 months ago
parent
commit
666ffebaac
3 changed files with 69 additions and 0 deletions
  1. +29
    -0
      devuan.io.zone
  2. +7
    -0
      nsd.conf
  3. +33
    -0
      test.devuan.dev.zone

+ 29
- 0
devuan.io.zone View File

@@ -0,0 +1,29 @@
;
; This is NSD's master zone file for devuan.dev
; (it has bind9 format)

$ORIGIN devuan.io.
$TTL 7200

@ IN SOA ns2.devuan.io. ns3.devuan.io (
2 ; serial number for this zone file
21600 ; refresh
7200 ; retry
691200 ; expire
7200 ) ; default TTL and end of header

; NS
;ns1 IN NS 192.168.97.83
@ IN NS ns2
@ IN NS ns3

; MX
; @ MX 10 mail

; A / AAAA /CNAME
;mail IN CNAME mx.devuan.org.
ns2 IN A 5.135.82.178
ns3 IN A 108.61.184.72

; for letsencrypt certification of gitea.devuan.dev
; _acme-challenge.gitea IN TXT NJuLODxCjWy9oDHakF_nzordkVHv1fVZxo_R4uSL4F8

+ 7
- 0
nsd.conf View File

@@ -11,6 +11,9 @@
# WARNING: The glob style doesn't work yet...
# include: "/etc/nsd/nsd.conf.d/*.conf"

server:
round-robin: yes

zone:
# This server is zone master for these
name: devuan.dev
@@ -31,3 +34,7 @@ zone:
# Following 2 for telling secondary at 10.0.10.1
notify: 10.0.10.1 NOKEY
provide-xfr: 10.0.10.1 NOKEY

zone:
name: test.devuan.dev
zonefile: /etc/nsd/%s.zone

+ 33
- 0
test.devuan.dev.zone View File

@@ -0,0 +1,33 @@
;
; This is NSD's master zone file for devuan.dev
; (it has bind9 format)

$ORIGIN devuan.dev.
$TTL 7200

@ IN SOA ns2.devuan.dev. ns3.devuan.dev (
2020062906 ; serial number for this zone file
21600 ; refresh
7200 ; retry
691200 ; expire
7200 ) ; default TTL and end of header

; NS
;ns1 IN NS 192.168.97.83
@ IN NS ns2
@ IN NS ns3

; A / AAAA /CNAME
gitea IN A 54.36.142.180
git IN CNAME gitea
gitlab IN CNAME git.devuan.org.
mail IN A 54.36.142.182
ns2 IN A 5.135.82.178
ns3 IN A 108.61.184.72
jenkins IN A 54.36.142.181
debbugs IN A 54.36.142.178
bugs IN A 54.36.142.178
popcon IN A 54.36.142.178
foobar IN A 10.1.1.1
foobar IN A 10.1.1.3
foobar IN A 10.1.1.2

Loading…
Cancel
Save