1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00
2015-02-25 21:23:09 +08:00
2014-06-06 21:45:37 +08:00
2014-05-14 17:18:06 +08:00
2015-02-25 00:06:50 +08:00
2015-02-25 00:06:50 +08:00
2015-02-25 00:06:50 +08:00
2014-05-11 04:49:17 -07:00
2015-02-25 21:23:09 +08:00
2015-02-25 00:06:50 +08:00

GoDNS

Build Status

GoDNS is a dynamic DNS (DDNS) tool, it is based on my early open source project: DynDNS.

Now I rewrite DynDNS by Golang and call it GoDNS.

Pre-condition

  • GoDNS relies on DNSPod and its API.

  • To use GoDNS, you need a domain and hosted on DNSPod.

Build it

Get & build it from source code

  • 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.

Run it

  • 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!
Description
A dynamic DNS client tool supports AliDNS, Cloudflare, Google Domains, DNSPod, HE.net & DuckDNS & DreamHost, etc, written in Go.
Readme 1.5 MiB
Languages
Go 97.4%
Makefile 2.3%
Dockerfile 0.3%