Last active
July 6, 2018 09:35
-
-
Save agarzon/2431219 to your computer and use it in GitHub Desktop.
ENOM IP Updater (PHP)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Run this script every 5 minutes (or 1 hour, is up to you) using a cron task */ | |
/* Edit this data*/ | |
$domain = "mydomain.com"; | |
$pass = "xxxxxx"; | |
$host = ""; // Optional, for additional hosts names like: ftp., mail. or any sub-domains. | |
/* DO NOT EDIT FROM HERE */ | |
file_get_contents("http://dynamic.name-services.com/interface.asp?command=SetDNSHost&Zone=@.$domain&DomainPassword=$pass"); | |
file_get_contents("http://dynamic.name-services.com/interface.asp?command=SetDNSHost&Zone=www.$domain&DomainPassword=$pass"); | |
file_get_contents("http://dynamic.name-services.com/interface.asp?command=SetDNSHost&Zone=*.$domain&DomainPassword=$pass"); | |
file_get_contents("http://dynamic.name-services.com/interface.asp?command=SetDNSHost&Zone=$host.$domain&DomainPassword=$pass"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi!
why does it say
ResponseString1=Validation error; not found; domain name(s)
since days?
it is not the password (then it would say "Validation error; invalid ; loginid")...
thx.
bye