update ddns A record
- basic http authorization services, such as pubyum.com, oray.com and so on
- DNSPod
- CloudFlare
- CloudXNS
Click this button to download the binary for your platform:
go get github.com/missdeer/ddnsclient/cmd/ddnsclient
- rename app.conf.sample to app.conf
- modify app.conf as you like
- run command:
./ddnsclient
- or specify a special configuration file path on commandline:
./ddnsclient -config /some/special/path/myapp.conf
- or specify a service URL to get current external IP:
./ddnsclient -ifconfig https://if.yii.li
- or specify a flag to ignore ifconfig service's SSL certificate verification:
./ddnsclient -insecureSkipVerify
Currently, ddnsclient util depends on https://if.yii.li service to get the device public internet IP, if you want to setup your own service to archive this goal, please visit ifconfig project site for more information.