Unofficial Python Implementation of Onamae.com's DDNS Client.
お名前.comのDDNSクライアントをPythonで実装した【Linux対応】 #Python - Qiita
- Python 3.7 or higher
-
Clone this repository:
git clone https://github.com/y-otn/onamae-ddns-client.git cd onamae-ddns-client -
Modify the following items in
onamae_ddns_client.py(L8-L12):INTERVALUSERIDPASSWORDHOSTNAME(optional)DOMNAME
-
Place the script and set appropriate permissions:
sudo mv onamae_ddns_client.py /usr/local/bin/ sudo chown root:root /usr/local/bin/onamae_ddns_client.py sudo chmod 600 /usr/local/bin/onamae_ddns_client.py
-
Register as a service for automatic startup (this will also start it immediately):
sudo cp onamae_ddns_client.service /etc/systemd/system/ sudo systemctl daemon-reload sudo systemctl enable --now onamae_ddns_client.service -
Check the service status:
sudo systemctl status onamae_ddns_client.service
For more extensive logs, use:
sudo journalctl -u onamae_ddns_client.service
- Please be aware that this script is an unofficial implementation and is not officially recognized or endorsed. Use it at your own risk.
- Ensure that
onamae_ddns_client.pyis not repeatedly triggered by cron or similar services, as it is designed to run continuously.