Skip to content

A command line script to update a OVH DynHost with your current public ip

License

Notifications You must be signed in to change notification settings

entourloop/ovh-dynhost

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ovh-dynhost

This script sets the DynHost service (that must be created before, check https://www.ovh.com/us/g2024.hosting_dynhost) with your current public IP that is retrieved from ipify.org API (default, can be overriden).

Usage

Give execution rights to the script

chmod +x ovh-dynhost
  • Sets the home.mydomain.com host to your current public IP retrieved from (SSL) ipify.org using myusername and mypassword as credentials.
ovh-dynhost home.mydomain.com myusername mypassword
  • Sets the 0.0.0.0 IP instead of the current public IP
ovh-dynhost --ip=0.0.0.0 home.mydomain.com myusername mypassword
ovh-dynhost --pub-ip-source=http://bot.whatismyipaddress.com home.mydomain.com myusername mypassword
  • Same as first but logging also into ovh.log file
ovh-dynhost --log-file=ovh.log home.mydomain.com myusername mypassword

External Dependencies

About

A command line script to update a OVH DynHost with your current public ip

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%