Toggle navigation
蔚藍部落
友站連結
留言板
登录
分类
懶得分類
電腦技術進化論
Win伺服器
伺服器
綠色和平在行動
天下亂侃
日記本
金融風暴
網站日誌
架设个人DDNS
发布于 2019-09-06
共有 0 条评论
访问: 0 次
> **2020年6月22日 update:** 由于proxy.golang.org等Go语言官网被墙,导致编译失败,因此改用第三方镜像 `go env -w GOPROXY=https://goproxy.cn` 通过DNS服务商API接口实现 Cloudflare (https://cloudflare.com) Google Domains (https://domains.google) DNSPod (https://www.dnspod.cn/) HE.net (Hurricane Electric) (https://dns.he.net/) AliDNS (https://help.aliyun.com/product/29697.html) DuckDNS (https://www.duckdns.org) 客户端: > https://github.com/TimothyYe/godns 下载源码编译32位 set GOARCH=386 #设为x86 go env #检查是否成功 set GOARCH=386 go build  安装为 Windows service After creating your config.json file: Get the latest [NSSM](https://nssm.cc/download "NSSM") for create a windows service. `nssm install YOURSERVICENAME` You will have an interface to configure your service, it is very simple in the "Application" tab just indicate where your godns.exe file is. Optionally you can also define a description on the "Details" tab and define a log file on the "I/O" tab. 安装完成后启动服务 卸载服务: `nssm remove YOURSERVICENAME`
发表新评论
取消回复
发送
×
Login with