Skip to content

zcq100/ddns_dnspod

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DDNS_DNSPOD

用ruby写的域名和ip绑定的小工具

使用

  • 首先你需要安装ruby环境
  • git clone https://github.com/zcq100/ddns_dnspod.git
  • 执行 cd ddns_dnspod && mv config.yaml.example config.yaml
  • 在config.yaml中设置id、token 和 要绑定的域名
  • 执行 rake update

你可以把rake update加到cron或者systemd-job里面定时执行。

=>rake -T
rake check   # Check domain change
rake info    # Info
rake ip      # Show local IP
rake list    # Get domain infomantion
rake update  # Update domain

Email:[email protected]

Releases

No releases published

Packages

No packages published

Languages