Dynamic Dns with Neodigit's API
TESTING PURPOSES ONLY
Links
dynamic_dns for Neodigit domains
https://panel.neodigit.net
Configuration:
You need to configure the config.cfg and pass it the file as attribute
- token:
- my_domain:
- my_subdomain:
You can obtain your own token Id from: https://panel.neodigit.net/api-consumers
ie: our token is 1234, and our subdomain is test.mydomain.com. This file is a YAML file.
- token: 1234
- my_domain: mydomain.com
- my_subdomain: test
Instalation from source
git clone https://github.com/educollado/neodigit-dyndns.git
For this script you need requests as you can see in the code:
pip install requests
Or maybe you can use the requirements.txt file:
pip install -r requirements.txt
One interesting step is to add to your crontab:
0,15,30,45 * * * * python3 /path-to/neodigit-dyndns/neodigit_dyndns /url/to/config.cfg > /dev/null 2>&
Instalation from PiP
pip install neodigit-dyndns
https://pypi.org/project/neodigit-dyndns/
Neodigit API
API Documentation: https://developers.neodigit.net/
License
GPL3