SkillAgentSearch skills...

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/Dyndns
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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:

  1. Create a subdomain in Plesk to use as your dynamic DNS hostname (no hosting required)
  2. optional: edit SOA record of subdomain, change TTL to a low value to make things faster
  3. edit script configuration
  4. create a crontab on your local machine to run every n minutes (*/5 * * * * sh dyndns.sh)
  5. ???
  6. 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.

View on GitHub
GitHub Stars9
CategoryDevelopment
Updated1y ago
Forks2

Languages

Shell

Security Score

55/100

Audited on May 10, 2024

No findings