python example for IP upd...
python example for IP update with dynu
- Casa
- Pannello di controllo
- Forum della Comunità
- Services
- Dynamic DNS Service
- python example for IP update with dynu
- Forum della Comunità
- python example for IP update with dynu
Argomento: python example for IP update with dynu
I run a IP-update python script daily for something fun. Maybe the code can be useful for you.
from requests import getPARAMS={"hostname":"example.freeddns.org",#altenatively you use username "password":"af1ad8c76fda2e48ea9aed2937e972ea"}#I use md5, you may also use password, IP update password, SHA-256 valueresponse=get("http://api.dynu.com/nic/update", params = PARAMS)if response.text[:5] not in("good ", "nochg"): input(response.text+"\n\nPress enter to continue")
Rispondi con citazione | Segnalare
Autore | Argomento: python example for IP update with dynu |
---|---|
croquette Iscritto: 17/04/2021 |
python example for IP update with dynu lunedì 12 giugno 2023 04:32
I run a IP-update python script daily for something fun. Maybe the code can be useful for you.
from requests import getPARAMS={"hostname":"example.freeddns.org",#altenatively you use username "password":"af1ad8c76fda2e48ea9aed2937e972ea"}#I use md5, you may also use password, IP update password, SHA-256 valueresponse=get("http://api.dynu.com/nic/update", params = PARAMS)if response.text[:5] not in("good ", "nochg"): input(response.text+"\n\nPress enter to continue") |
Al momento è sabato 23 novembre 2024 11:41 US Mountain Standard Time
sabato 23 novembre 2024 11:41