支持:
Xiaomi Mi Router AC2100 MediaTek MT7621 ver:1 eco:3 ramips/mt7621
This commit is contained in:
parent
2bd71ae7c0
commit
58ca7e22f7
6
build.sh
6
build.sh
@ -7,3 +7,9 @@ BIN="ddns-namesilo"
|
|||||||
|
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o ${BIN}-linux-arm64 -a -ldflags '-extldflags "-static"'
|
CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -o ${BIN}-linux-arm64 -a -ldflags '-extldflags "-static"'
|
||||||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ${BIN}-linux-amd64 -a -ldflags '-extldflags "-static"'
|
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o ${BIN}-linux-amd64 -a -ldflags '-extldflags "-static"'
|
||||||
|
|
||||||
|
|
||||||
|
# Xiaomi Mi Router AC2100
|
||||||
|
# MediaTek MT7621 ver:1 eco:3
|
||||||
|
# ramips/mt7621
|
||||||
|
CGO_ENABLED=0 GOOS=linux GOARCH=mipsle GOMIPS=softfloat go build -o ${BIN}-linux-softfloat-mipsle -a -ldflags '-extldflags "-static"'
|
||||||
|
Binary file not shown.
Binary file not shown.
BIN
ddns-namesilo-linux-softfloat-mipsle
Normal file
BIN
ddns-namesilo-linux-softfloat-mipsle
Normal file
Binary file not shown.
6
main.go
6
main.go
@ -128,11 +128,11 @@ func Loop() {
|
|||||||
|
|
||||||
var Domain_ipv6_addr string
|
var Domain_ipv6_addr string
|
||||||
var Now_ipv6_addr string
|
var Now_ipv6_addr string
|
||||||
var Domain = "aixiao.me"
|
var Domain = "aixiao.me" // 主域名
|
||||||
var _interface = "pppoe-wan"
|
var _interface = "pppoe-wan" // openwrt 网卡
|
||||||
|
|
||||||
key := "28b94fdd541d213de7bcaef" // 你的 API Key
|
key := "28b94fdd541d213de7bcaef" // 你的 API Key
|
||||||
Subdomain := "v6.aixiao.me" // 你要获取的特定子域名(可选)
|
Subdomain := "v6.aixiao.me" // 你要获取的特定子域名
|
||||||
|
|
||||||
Domain_ipv6_addr = check_domain_ipv6(Subdomain)
|
Domain_ipv6_addr = check_domain_ipv6(Subdomain)
|
||||||
Now_ipv6_addr = pppoe_interface_ipv6(_interface)
|
Now_ipv6_addr = pppoe_interface_ipv6(_interface)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user