Dyndns
Dynamic DNS: Bash script to (fully remotely) update a DNS entry on a Plesk server, as soon as your WAN IP changes.
Install / Use
/learn @derblub/DyndnsREADME
Dynamic DNS to use with your Plesk server
Shell script to remotely update the A-record of a subdomain DNS entry, managed by a Plesk server.
##Installation:
- Create a subdomain in Plesk to use as your dynamic DNS hostname (no hosting required)
- optional: edit
SOArecord of subdomain, changeTTLto a low value to make things faster - edit script configuration
- create a crontab on your local machine to run every n minutes (
*/5 * * * * sh dyndns.sh) - ???
- profit!
##@todo:
- better error handling
- create subdomain from script
- make more things optional
- ...
Tested with:
- Plesk 10
- Plesk 11.5
For any other version, first make sure the column exists and is in use by Plesk. To update your bind adresses, you'll also need the dnsmng tool by Plesk, alternativly you can update DNS cache yourself of course.
