News: This forum is now permanently frozen.
Pages: [1]
Topic: DNS Made Easy - Dynamic DNS Support Addition  (Read 1781 times)
« on: May 31, 2008, 03:26:04 »
stroths *
Posts: 9

Would it be possible to add support for dnsmadeeasy.com?

They provided the instructions for anyone that wanted to integrate it into their software (https://www.dnsmadeeasy.com/client.txt)

Code:
DNS Made Easy specification to create a client for DDNS.

Everything works through a servlet.  You must analyze the data that is sent back to you.

The page (servlet) returns a string.

Here is the run down on what there is:

The servlet is: http://www.dnsmadeeasy.com/servlet/updateip?
You can also use https: https://www.dnsmadeeasy.com/servlet/updateip?

Each DNS Made Easy user has three pieces of information they need to provide:
- username (which is usually the users email account they use to log into DNS Made Easy)
- password
- record ID (Starting in 12/2003: seperated by commas if more than one at a time)

The client will usually add this one piece of information:
- new IP

There are 4 parameters that you can pass in a POST or GET request to the following URL.
https://www.dnsmadeeasy.com/servlet/updateip

The four parameters are: "username", "password", "id", and "ip"
NOTE: That if your password does have special characters that you may have to convert them to HEX first.
http://www.dnsmadeeasy.com/faqs/hex.html

An example would be:
https://www.dnsmadeeasy.com/servlet/updateip?username=test@example.com&password=mypass&id=1007&ip=12.13.14.15
or (Starting in December of 2003)
https://www.dnsmadeeasy.com/servlet/updateip?username=test@example.com&password=mypass&id=1007,1008,1009&ip=12.13.14.15

You can also use just the http protocol.
http://www.dnsmadeeasy.com/servlet/updateip?username=test@example.com&password=mypass&id=1007&ip=12.13.14.15
or (Starting in December of 2003)
http://www.dnsmadeeasy.com/servlet/updateip?username=test@example.com&password=mypass&id=1007,1008,1009&ip=12.13.14.15


== Explanation of record ID ==
Every record in DNS Made Easy is assigned a unique ID.  This ID is found by:
1) Log in
2) Click on Manage Domain and Records.
You are now seeing all domains you are administering with DNS Made Easy.
3) Click on "Edit" under the "Records" column for your domain.
You are now seeing all records for the domain selected which you have created.
4) Click on DDNS next to the record.  This will give you all the information about setting up DDNS for your record. 
 
Here are the error-codes.

 
"error-auth"  Invalid username or password, or invalid IP syntax
"error-auth-suspend"  User has had his / her account suspended.  This is if I get complaints about them or if they misuse the service.
"error-auth-voided"  User has had his / her account revoked.  Same thing as suspended but this is permanent.
So far no one has been voided.
"error-record-invalid"  Record does not exist in the system. / Unable to update record in system database.
"error-record-auth" User does not have access to this record. 
"error-record-ip-same" IP never changed so nothing was done.
"error-system"  General system error which is caught and recognized by the system.
"error" General system error unrecognized by the system.

"success"  The one and only good message. :)
 
You don't need to worry about all the specific ones.  All you really need is success and anything that starts with error.  But we just wanted to give you all of them if you do need them or wanted them.


 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines