1
0
mirror of https://github.com/taigrr/godns synced 2025-01-18 04:03:25 -08:00
godns/README.md
2014-12-15 09:50:52 +08:00

1.4 KiB

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/TimothyYe/godns.git
  • Go into the godns directory, get related library and then build it:
cd godns
go get
go build
  • Then you get GoDNS.

Build godns from the 3rd party

  • Visit this URL provided by GoBuild.
  • Select the platform you need.
  • Input the build type and branch name.
  • Build and download 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.
  • Save it in the same directory of GoDNS.
  • The last step, run godns:
nohup ./godns &
  • Enjoy it!