Skip to main content

A script to update the OVH DynHost with your current public IP

Project description


This script sets the DynHost service (that must be created before, check with your current public IP that is retrieved from API (default, can be overriden).


Install the script using pip (I strongly suggest to use a virtualenv)

pip install .

(The script will be now available in the PATH. Reactivate the virtualenv if necessary)

PS: The script is also available directly on PyPI.

pip install ovh_dynhost


  • Sets the host to your current public IP retrieved from (SSL) using myusername and mypassword as credentials.
ovh-dynhost myusername mypassword
  • Sets the IP instead of the current public IP
ovh-dynhost --ip= myusername mypassword
ovh-dynhost --pub-ip-source= myusername mypassword
  • Same as first but logging also into ovh.log file
ovh-dynhost --log-file=ovh.log myusername mypassword

If your prefer to not show up your username or password in the shell, you can provide a separate JSON configuration file. By default the script will lookup into $HOME/.ovh-dyndns.conf, but you can also provide a custom configuration file

ovh-dynhost --conf-file=/etc/ovh-dyndns/config.json

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ovh-dynhost, version 0.4.3
Filename, size File type Python version Upload date Hashes
Filename, size ovh_dynhost-0.4.3-py3-none-any.whl (5.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size ovh-dynhost-0.4.3.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page