diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..2ee92d1 --- /dev/null +++ b/.drone.yml @@ -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 diff --git a/dns.go b/dns.go index 442fcfc..90fdb7a 100644 --- a/dns.go +++ b/dns.go @@ -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 diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..3c5622d --- /dev/null +++ b/go.mod @@ -0,0 +1,3 @@ +module burble.dn42/dn42promsrv + +go 1.14