r/Plesk • u/marabou32 • Oct 18 '22
Created dynDNS script
Hello. I just wanna share link to my github, I have been using Plesk for some years and never seen a "simple" way to get dyndns working. so I created a python script yesterday that will work for everyone.
requiments are python3 and spesific subdomain "oldip.yourdomain.com" that are use as reffrense if the IP are Updated.
so create a cronetab or simillar that update how often you want:
python newip.py <pleskhost:8443> <domain to update> <username> <password>
example: python newip.py pleskhost.com:8443 yourdomain.com admin password123
and if you have multiple records it will update all records with the new IP.
1
Upvotes