yumusb / autochangedns Goto Github PK
View Code? Open in Web Editor NEW根据宕机情况自动切换DNS解析记录(调用CloudFlare API)
根据宕机情况自动切换DNS解析记录(调用CloudFlare API)
开发者您好,感谢你的贡献;目前我是有一个CF故障转移的需求,AutoChangeDns的功能与我的需求及其接近了;但唯一的区别在于我一个域名只需要对应一个IP,另一个是备用的。
所以想请教您,可否将原本的解析两个IP到一个域名改为一个,另一个留作备用,主IP挂掉切换为备用IP 这样?
非常感谢,已经在你的博客大赏了!
CloudFlare:
mail: [email protected]
token: yourtoken
#将要监控的域名记录
domain:
name: yourdomain.com
zone:
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.