machineitsvcs / cloudflare-ddns-update Goto Github PK
View Code? Open in Web Editor NEWAdvanced Dynamic DNS Update Script for Cloudflare
Home Page: http://cloudflare-ddns-update.machineitservices.com/
Advanced Dynamic DNS Update Script for Cloudflare
Home Page: http://cloudflare-ddns-update.machineitservices.com/
When this runs for me, frequently the IP address resolver (ipecho.net) just goes into a black hole, neither timing out or returning a value.
Would suggest resolving using a more resilient provider, such as:
export newip=$(dig TXT +short o-o.myaddr.l.google.com @ns1.google.com | awk -F'"' '{ print $2}'; echo)
or
export newip=$(dig +short myip.opendns.com @resolver1.opendns.com)
Other than that, very slick - thank you.
I run "cf-update.sh config.sh" first time, it has output, but i run it again, there is no any output. what happened?
what does your program do if two apache servers and your program are installed in two locations? will it be performing failover? If I set it 1 min update period in both locations, will the program switch back-and-for every minute?
If I want another location as backup apache, can you as it as a backup ip?
I was using an embedded system, that uses busybox. Busybox grep doesn't support -P.
Modified to use
zone_identifier grep -Po '(?<="id":")[^"]' | head -1 ) to jq -r '{"result"}[] | .[0] | .id'
record_identifier grep -Po '(?<="id":")[^"]' | head -1 ) to jq -r '{"result"}[] | .[0] | .id'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.