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
SOA
record of subdomain, changeTTL
to 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
- ...
- 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.