GOOS 构建的系统 GOARCH 架构 GOARM arm 版本
GOOS=linux GOARCH=arm GOARM=5 go build -ldflags "-s -w"
authEmail authKey 字段在 https://dash.cloudflare.com/profile/api-tokens
domainName 字段为在 cloudflare 下的二级域名
ddns 下的 isCurrent 为 true,指用当前主机 DDNS; 为 false 则在网络邻居中查找 mac地址对应的ipv6 DDNS
{
"authEmail": "",
"authKey": "",
"domainName": "pjunjie.cc",
"ddns": [
{
"host": "router.pjunjie.cc",
"isCurrent": true,
"mac": null
},
{
"host": "test.pjunjie.cc",
"isCurrent": false,
"mac": "dd:ee:ff:aa:bb:cc"
}
]
}