jeffaco / msft-updatedns Goto Github PK
View Code? Open in Web Editor NEWAutomated DNS host maintenance
License: MIT License
Automated DNS host maintenance
License: MIT License
I ran ./updatedns.sh --configure -v
which put an entry in my crontab, but then I moved the msft-updatedns
folder and re-ran it. Instead of updating (i.e. deleting and replacing) the previous entry, it just added a second entry. Since the first entry was invalid, cron emailed me failures.
I ran updatedns.sh before setting hostname (for some reason the CentOS installer didn't let me set it, and then I forgot), which then registered localhost.localdomain with scx.com. I figured the record would expire pretty quick, but it perhaps caused the AIX problem.
Anyway, should be a simple fix to refuse to register localhost*.
updatedns should try and update PTR records, if they are known and allowed by the DNS server.
This is done via nsupdate, with commands like this:
update delete ${LAST}.${REV}.in-addr.arpa PTR
update add ${LAST}.${REV}.in-addr.arpa 86400 PTR ${HOST}.scx.com.
REV is the first part of the IP reversed so 10.193.247.10, means LAST=10 and REV=247.193.10.
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.