Skip to main content

ovh-dynhost

This script sets the DynHost service (that must be created before, check https://docs.ovh.com/gb/en/domains/hosting_dynhost/) with your current public IP that is retrieved from ipify.org API (default, can be overridden).

Installation

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

Usage

  • 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

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 home.mydomain.com --conf-file=/etc/ovh-dyndns/config.json

Metadata

Release files for ovh-dynhost 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovh-dynhost 0.5
File Size Uploaded
ovh-dynhost-0.5.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovh-dynhost 0.5
File Interpreter ABI Platform
ovh_dynhost-0.5-py3-none-any.whl Python 3 none any Details

Total release size: 11.0 kB

Release files / ovh-dynhost-0.5.tar.gz

Download URL ovh-dynhost-0.5.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
83e423657d66442aaedca143411a802554bf1e00660e4260191feff8ad61f075
BLAKE2b-256 checksum
How to use checksums
0762a2953715020d0ea7068daeeb6cfd9b5a125b11bbff5a8e483de3212f1074
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release files / ovh_dynhost-0.5-py3-none-any.whl

Download URL ovh_dynhost-0.5-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f0a2381a2ff850e5bf79255fef6c70ad4c096a916c82a2724dd2f4ab3c2b2b0f
BLAKE2b-256 checksum
How to use checksums
c4fb1adb35567bc7ed3aeb995bdf34796efd35204ffdd68187d9d2058c3db95e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

0.5 This release

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.1

2 release files

0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page