Skip to content

Multiples scripts, using different programming languages, to refresh a DynHost entry

License

Notifications You must be signed in to change notification settings

GaelGirodon/dynhost-refresh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DynHost refresh scripts

Multiple scripts, written with different programming languages, to automatically update a DynHost record.

Each script checks the current public IP address and, if it has changed, updates the DynHost record.

About OVH DynHost

DynHost allows to create a DNS record (domain or subdomain) that can be dynamically updated to keep it in sync with its target IP address. Dynamically updating a DNS record helps avoid interruptions of a web service on IP change (when the server doesn't use a static IP address).

Scripts

  • Bash - A Bash script without dependencies to update a DynHost record
  • PHP - PHP scripts to update a DynHost record using Composer, Guzzle, PHP dotenv and PHP library for OVH API
  • Python - Python 3 scripts to request credentials and update a DynHost record using the Python library for OVH API

License

DynHost refresh scripts are licensed under the GNU General Public License.