Skip to content
/ godns Public

在GoDNS的基础上改用token去调用dnspod的接口,另外用ip138替换3322.org获取当前ip「因为3322.org获取的ip跟实际不一致」

License

Notifications You must be signed in to change notification settings

masiqi/godns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoDNS

Build Status

在GoDNS的基础上改用token去调用dnspod的接口,另外用ip138替换3322.org获取当前ip「因为3322.org获取的ip跟实际不一致」

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!

About

在GoDNS的基础上改用token去调用dnspod的接口,另外用ip138替换3322.org获取当前ip「因为3322.org获取的ip跟实际不一致」

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages