GoDNS is a dynamic DNS (DDNS) tool, it is fork from: GoDNS.
Modify something.
- Get source code from Github:
git clone https://github.com/abotoo/godns.git
- Go into the godns directory, get related library and then build it:
cd godns
go get
go build
- Then you get GoDNS.
- Get config_sample.json from Github.
- Rename it to config.json.
- Configure your domain/sub-domain info, username and password of DNSPod account.
- Configure log file path, max size of log file, max count of log file.
- Configure user id, group id for safty.
- Save it in the same directory of GoDNS, or use -c=your_conf_path command.
- The last step, run godns:
./godns
- Enjoy it!