Update tunnel/maatma IP
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c7560f8332
commit
f6bbdcf096
6 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue