Click this button to download the binary for your platform:
Build:
go get github.com/missdeer/ddnsclient/cmd/ddnsclient
Usage:
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
Attention:
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.