# Last Modified: 26-September-2002 # # This script is released as public domain in hope that it will # be useful to others using DNS Made Easy. It is provided # as-is with no warranty implied. Sending passwords as a part # of an HTTP request is inherently insecure. I take no responsibilty # if your password is discovered by use of this script. # # THIS IS AN ASSOCIATIVE ARRAY OF YOUR DOMAINS HELD ON DNSMADEEASY # The number is the id of the A Record which can be found by clicking on # the DDNS link in your DNS Made Easy admin screen. $aRecordIDs = array("yourdomain1.com" => 12345, "yourdomain2.com" => 23456, "yourdomain3.com" => 34567, "yourdomain4.com" => 45678); $strNewIpAddress = "192.168.1.2"; $strUsername = "your_email@hotmail.com"; $strPassword = "your_password"; while (list ($key, $val) = each ($aRecordIDs)) { echo "

Processing '$key' ............

"; $contents = readfile("http://www.dnsmadeeasy.com/servlet/updateip?username=".$strUsername."&password=".$strPassword."&id=".$val."&ip=".$strNewIpAddress); echo trim($contents); flush(); } ?>