You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yova ee85c6bae6
add zone refresh
2 years ago
dyndns-update.py add zone refresh 2 years ago
env-example initial 2 years ago
readme.md correct docs 2 years ago
requirements.txt add requirements 2 years ago

readme.md

Update DNS to current IP

Simple dyndns for OVH API.

Updates an A record to the current IP.

requirements ubuntu

$ apt install python3-pip python-is-python3
$ pip install -r requirements.txt

configuration

cp env-example .env

and edit .env with credentials from https://www.ovh.com/auth/api/createToken

run

dyndns-update ZONE SUBDOMAIN

install

Install as user cronjob like

*/5 * * * * cd /home/user/ovh-dyndns ; ./dyndns-update.py ZONE SUBDOMAIN

with

$ crontab -e