https://github.com/couapy/dynhost-updater
DynHost (OVH) automation script to update DNS.
https://github.com/couapy/dynhost-updater
automation cron dynamic-ip dynhost ovh
Last synced: 25 days ago
JSON representation
DynHost (OVH) automation script to update DNS.
- Host: GitHub
- URL: https://github.com/couapy/dynhost-updater
- Owner: Couapy
- License: mit
- Created: 2019-10-17T10:18:50.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2022-12-08T08:18:40.000Z (over 3 years ago)
- Last Synced: 2023-03-08T22:26:38.477Z (over 3 years ago)
- Topics: automation, cron, dynamic-ip, dynhost, ovh
- Language: Python
- Homepage: https://couapy.github.io/dynhost-updater/
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dynhost-updater
[](https://github.com/5kyc0d3r/upnpy/blob/master/LICENSE)
[](https://github.com/Couapy/DynHostUpdater/)
This is a tool that allow you to update DynHost (ovh technology) fields automatically.
## How to execute ?
The recommanded way to execute this tool is docker.
### With Docker
This tool can be executed in a container with docker :
```bash
docker-compose up -d
```
### Locally
Please run the following command
```
pip install virtualenv
virtualenv .venv
source .venv/bin/activate
pip install -r requirements.txt
# To execute the script once:
python3 main.py
```
To execute automatically the script, you can use the `config/con.conf` cron file.
## Configuration
The configuration is stored in the `config/sites.cfg` file.
For example, the script will update **mysite.com** with the user `myuser` and password `mypassword`:
```ini
[mysite.com]
user=mysuser
password=mypassword
```
If you want more domains, just create new sections.