Add drone pipeline and update jrb0001 servers
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Marsh 2020-08-23 19:27:30 +01:00
parent 63958f78c0
commit db56b3db58
No known key found for this signature in database
GPG Key ID: 30B29A716A54DBB3
3 changed files with 40 additions and 16 deletions

21
.drone.yml Normal file
View File

@ -0,0 +1,21 @@
---
kind: pipeline
type: exec
name: default
steps:
- name: build
environment:
CGO_ENABLED: 0
commands:
- go build
- name: stage
commands:
- stage_artifact.sh dn42promsrv dn42promsrv
- name: promote
commands:
- promote_artifact.sh dn42promsrv
when:
branch: master

32
dns.go
View File

@ -128,26 +128,26 @@ var dns_servers = []*DNSServer{
&DNSServer{"delegation", "jrb0001", "j.delegation-servers.dn42", 4,
"172.20.1.254:53", 0},
&DNSServer{"delegation", "jrb0001", "j.delegation-servers.dn42", 6,
"[fd42:5d71:219:1:a526:d935:281e:22d6]:53", 0},
"[fd42:5d71:219:1:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"recursive", "jrb0001", "j.recursive-servers.dn42", 4,
"172.20.1.255:53", 0},
&DNSServer{"recursive", "jrb0001", "j.recursive-servers.dn42", 6,
"[fd42:5d71:219:0:69c2:2b0e:17e8:c215]:53", 0},
"[fd42:5d71:219:0:216:3eff:fee8:c215]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "nl-1", 6, "[fd42:5d71:219:1:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "de-1", 6, "[fd42:5d71:219:2:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "gb-1", 6, "[fd42:5d71:219:3:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "fr-1", 6, "[fd42:5d71:219:4:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "us-1", 6, "[fd42:5d71:219:5:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "au-1", 6, "[fd42:5d71:219:6:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "jp-1", 6, "[fd42:5d71:219:7:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "sg-1", 6, "[fd42:5d71:219:8:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "ca-1", 6, "[fd42:5d71:219:9:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "us-2", 6, "[fd42:5d71:219:a:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "us-3", 6, "[fd42:5d71:219:b:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "us-4", 6, "[fd42:5d71:219:c:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "us-5", 6, "[fd42:5d71:219:d:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "kr-1", 6, "[fd42:5d71:219:e:a526:d935:281e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "nl-1", 6, "[fd42:5d71:219:1:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "de-1", 6, "[fd42:5d71:219:2:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "gb-1", 6, "[fd42:5d71:219:3:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "fr-1", 6, "[fd42:5d71:219:4:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "us-1", 6, "[fd42:5d71:219:5:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "au-1", 6, "[fd42:5d71:219:6:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "jp-1", 6, "[fd42:5d71:219:7:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "sg-1", 6, "[fd42:5d71:219:8:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "ca-1", 6, "[fd42:5d71:219:9:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "us-2", 6, "[fd42:5d71:219:a:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "us-3", 6, "[fd42:5d71:219:b:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "us-4", 6, "[fd42:5d71:219:c:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "us-5", 6, "[fd42:5d71:219:d:216:3eff:fe1e:22d6]:53", 0},
&DNSServer{"jrb0001", "jrb0001", "kr-1", 6, "[fd42:5d71:219:e:216:3eff:fe1e:22d6]:53", 0},
// Kioubit

3
go.mod Normal file
View File

@ -0,0 +1,3 @@
module burble.dn42/dn42promsrv
go 1.14