This repository was archived by the owner on Mar 17, 2020. It is now read-only.
Added 4th argument to specify "TYPE"#21
Open
Siftah wants to merge 10 commits into
Open
Conversation
…main type to update, this allows the updating of '@'/A records without nuking the NS entries.
…only echos anything to STDOUT when the IP changes or an error occurs. This is much more convenient when you run the script from a crontab and only want an email if an error ocurred or the IP address changed. Also moved some 'config' type variables to a seperate include so that you can re-point the check ip call to your own page - I've done this so that I can use my own page on a fixed IP, which means it works even if my DNS breaks.
Included more information on usage, removed most of the original content as there isn't much of the original script left.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Main purpose of this is so that you can update the @ entry for A records, without clobbering the NS entries.