Skip to content

jinhill/ddns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DDNS for Aliyun/GeoScaling

This script can automatically add, delete and update the DNS records.

Features:

  1. Support ipv4 and ipv6.
  2. Support to automatically get the wan IP address, or get the IPv6 public address from the local interface.
  3. Support one host name to resolve multiple IP addresses.
  4. Supported systems: OpenWrt/Ubuntu/Debian/CentOS/Alpine/Synology DSM/Cygwin.

Usage:

./ddns_xxx.sh [-46adhur] [-i <key id>] [-s <key secret>] [-n <dns name>] [-l <ip source>] [-t <dns type>] [-v <dns value arrays>]
./ddns_xxx.sh --install/uninstall
only for Synology DSM ddns:
./ddns_xxx.sh <key id> <key secret> <dns name>
	-4/6 get ipv4/6;
	-a add dns;
	-d auto detect ip and update;
	-i set key id;
	-l <0/1> set ip source, 0-wan ip, 1-local ip;
	-n set dns name;
	-u update dns;
	-r remove dns;
	-s set key secret;
	-t set dns type;
	-v set dns value arrays;
	--install/uninstall install/uninstall this script;
	-h Print help.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages