Azure Dynamic DNS from FrodeHus (repo) work.
The package is available here to run directly from CLI
- python 3.10
- poetry
- Azure application id and secret with contribute permission on the DNS zone targeted
Create virtual environment:
git clone https://github.com/tle06/azure-ddns.git
cd azure-ddns/azure_ddns
poetry shell
poetry install
poetry run python azure_ddns/cli.py
poetry build
pip install dist/azure_ddns-0.0.1-py3-none-any.whl --force-reinstall
If needed replace the version number
pip install dist/azure_ddns-*-py3-none-any.whl --force-reinstall
export PYPI_USERNAME=__token__
export PYPI_PASSWORD=pypi_token_to_be_replace_by_yours
poetry publish --build --username $PYPI_USERNAME --password $PYPI_PASSWORD
pip install azure-ddns
If you need a cron generator check here
crontab -e
*/30 * * * * azure-ddns -config /home/user/azure-dyndns.json > dyndns.txt