Update Maatma IPv4
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2023-03-15 21:25:33 +01:00
parent ab909d12e7
commit dfb6ba7834
4 changed files with 4 additions and 4 deletions

View File

@ -325,7 +325,7 @@ func AddAssociatedDomains(student *adlin.Student, aaaa net.IP) (err error) {
rrA := new(dns.A) rrA := new(dns.A)
rrA.Hdr = dns.RR_Header{Name: student.DefaultAssociatedDomain(), Rrtype: dns.TypeA, Class: dns.ClassINET, Ttl: 3600} rrA.Hdr = dns.RR_Header{Name: student.DefaultAssociatedDomain(), Rrtype: dns.TypeA, Class: dns.ClassINET, Ttl: 3600}
rrA.A = net.IPv4(82, 64, 31, 248) rrA.A = net.IPv4(82, 64, 151, 41)
m2.Insert([]dns.RR{rrA}) m2.Insert([]dns.RR{rrA})
rrAAAA := new(dns.AAAA) rrAAAA := new(dns.AAAA)

View File

@ -355,7 +355,7 @@ angular.module("AdLinApp")
$scope.assoc = { $scope.assoc = {
"domain": $scope.adomains[0].domain, "domain": $scope.adomains[0].domain,
"a": "82.64.31.248", "a": "82.64.151.41",
"aaaa": aaaa, "aaaa": aaaa,
} }
$('#AssocModal').modal('show'); $('#AssocModal').modal('show');

View File

@ -152,7 +152,7 @@ PersistentKeepalive = 5
# MyNetwork=%s/%d # MyNetwork=%s/%d
# GWIPv6=%s # GWIPv6=%s
# MyLogin=%s # MyLogin=%s
`, base64.StdEncoding.EncodeToString(tinfo.SrvPubKey), "82.64.31.248", tinfo.SrvPort, tinfo.CltIPv6, token.SuffixIP, 64, tinfo.CltIPv6, tinfo.CltRange, tinfo.SrvGW6, student.Login))) `, base64.StdEncoding.EncodeToString(tinfo.SrvPubKey), "82.64.151.41", tinfo.SrvPort, tinfo.CltIPv6, token.SuffixIP, 64, tinfo.CltIPv6, tinfo.CltRange, tinfo.SrvGW6, student.Login)))
if version > 2 { if version > 2 {
w.Write([]byte(fmt.Sprintf(`# KeySign=%s`, base64.StdEncoding.EncodeToString(token.GenKeySign())))) w.Write([]byte(fmt.Sprintf(`# KeySign=%s`, base64.StdEncoding.EncodeToString(token.GenKeySign()))))
} }

View File

@ -17,7 +17,7 @@ enregistrement.
42sh$ dig adlin.nemunai.re A 42sh$ dig adlin.nemunai.re A
[...] [...]
;; ANSWER SECTION: ;; ANSWER SECTION:
adlin.nemunai.re. 78942 IN A 82.64.31.248 adlin.nemunai.re. 78942 IN A 82.64.151.41
[...] [...]
``` ```
</div> </div>