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
@ -12,7 +12,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
DEFAULT_RESOLVER = "2a01:e0a:2b:2250::1"
|
||||
DEFAULT_RESOLVER = "2a01:e0a:518:830::1"
|
||||
year68 = 1 << 31 // For RFC1982 (Serial Arithmetic) calculations in 32 bits. Taken from miekg/dns
|
||||
)
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -29,7 +29,7 @@ func GetCollectorPublic() ed25519.PublicKey {
|
||||
}
|
||||
|
||||
func StudentIP(idstd int64, overrideid int) net.IP {
|
||||
return net.ParseIP(fmt.Sprintf("2a01:e0a:2b:2252:%x%x::", overrideid, idstd))
|
||||
return net.ParseIP(fmt.Sprintf("2a01:e0a:518:833:%x%x::", overrideid, idstd))
|
||||
}
|
||||
|
||||
func StudentNet(idstd int64, overrideid int) *net.IPNet {
|
||||
|
@ -16,7 +16,7 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
ControlSocket = "[2a01:e0a:2b:2250::b]:53"
|
||||
ControlSocket = "[2a01:e0a:518:830::5]:53"
|
||||
tsigName = "ddns."
|
||||
tsigSecret = ""
|
||||
)
|
||||
|
@ -67,7 +67,7 @@ func getTunnelInfo(student int64, idoverride int) TunnelInfo {
|
||||
SrvPort: 42912,
|
||||
CltIPv6: adlin.StudentIP(student, idoverride),
|
||||
CltRange: adlin.StdNetmask,
|
||||
SrvGW6: "2a01:e0a:2b:2252::1",
|
||||
SrvGW6: "2a01:e0a:518:833::1",
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -61,7 +61,7 @@ Votre passerelle répond aux `ping`, une fois la connexion établie, vous devrie
|
||||
pouvoir :
|
||||
|
||||
```
|
||||
ping 2a01:e0a:2b:2252::1
|
||||
ping 2a01:e0a:518:833::1
|
||||
```
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user