Update tunnel/maatma IP
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2023-03-15 20:44:35 +01:00
commit f6bbdcf096
6 changed files with 8 additions and 8 deletions

View file

@ -141,9 +141,9 @@ func get_GLUE(student *adlin.Student) (aaaa net.IP, err error) {
client := dns.Client{Net: "tcp", Timeout: time.Second * 5}
domain := student.MyDelegatedDomain()
dnssrv := "[2a01:e0a:2b:2250::b]:53"
dnssrv := "[2a01:e0a:518:830::e]:53"
if strings.HasSuffix(domain, student.MyDelegatedDomainSuffix()) {
dnssrv = "[2a01:e0a:2b:2250::b]:53"
dnssrv = "[2a01:e0a:518:830::e]:53"
} else if v, ok := domainsHostingMap[domain]; ok {
dnssrv = v
} else {
@ -390,7 +390,7 @@ func check_dnssec(domain, ip string) (err error) {
m.RecursionDesired = false
m.SetEdns0(4096, true)
r, _, err = client.Exchange(m, "[2a01:e0a:2b:2250::b]:53")
r, _, err = client.Exchange(m, "[2a01:e0a:518:830::e]:53")
if err != nil {
return
}