Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Renfrew/ddns-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ddns-update

Scripts to update the DNS records

The cloudflare script support both the IPv4 and the IPv6.

The netlify script support only the IPv4 and is legacy, please use it with care.

Dependencies: jq, dig, curl

The script will log to /var/log/me.renfrew.dnsUpdate.log and /var/log/me.renfrew.dnsUpdate.err

Usage

cloudflare-ddns.sh <ACCESS_TOKEN> <DOMAIN> <SUBDOMAIN> <TTL>

Example

cloudflare-ddns.sh aCcEFfdsOKeN example.com local 300

Sample cron job

*/15 * * * * /Users/renfrew/bin/dns-update sample-towwwwwken example.me www 3600

About

Scripts to update the DNS records

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages