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.
Florent VIOLLEAU 063e048e9c
Fix typo in comments
5 years ago
docs Fix typo in comments 5 years ago
LICENSE-MIT Add Readme and license 6 years ago
README.md Fix typo in comments 5 years ago
dynhost.sample.cfg Fix typo in comments 5 years ago
dynhost.sh Fix typo in comments 5 years ago

README.md

Dynhost OVH

Script to update periodically your OVH DNS via DynHost and use the Livebox to retrieve the public IP

OVH user creation.

To use that script, you have to set a login and a password. This login and password have to be created by going in the OVH manager. Chose your domain name section, and move to the dyndns tab.

Next move to manage access.

ovh-1

Next create an id.

ovh-2

Login use in the script will be: domain-name.fr-[login_you_created]

Password use in the script will the one you chose in that screen.

ovh-3

Cron

Use with cron to launch periodicaly (every two minutes)

crontab -e
*/2 * * * * /usr/local/dynhost/dynhost

Config file

You can use the sample config file given (dynhost.sample.cfg). Rename it to dynhost.cfg and change the variables to meet your own parameters. Use cron this way.

crontab -e
*/2 * * * * /usr/local/dynhost/dynhost /usr/local/dynhost/dynhost.cfg