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.

36 lines
513 B

2 years ago
# Update DNS to current IP
Simple dyndns for OVH API.
2 years ago
Updates an A record to the current IP.
2 years ago
2 years ago
## requirements ubuntu
```
$ apt install python3-pip python-is-python3
$ pip install -r requirements.txt
```
2 years ago
## configuration
2 years ago
`cp env-example .env`
and edit `.env` with credentials from https://www.ovh.com/auth/api/createToken
2 years ago
## run
2 years ago
2 years ago
`dyndns-update ZONE SUBDOMAIN`
2 years ago
2 years ago
2 years ago
## install
2 years ago
Install as user cronjob like
2 years ago
`*/5 * * * * cd /home/user/ovh-dyndns ; ./dyndns-update.py ZONE SUBDOMAIN`
2 years ago
with
`$ crontab -e`