Monday, April 07, 2008

Configuring custom dynamic DNS (DDNS) agains ENOM on DD-WRT

I was messing around with my linksys trying to set up QoS and ended up resetting it,
loosing my DDNS settings and having to recreate them.
Took enough time for me to sit donw and write this down so that (my) next time would take less.

so here goes:
you would ususally have a single domain (e.g. dyn.yourdomain.com) that you would change dynamically and then have other domains that would map to it using CNAME entries.

If you have dynamic dns services provided by enom (I got mine when I moved to enom from registerfly) and you want your dd-wrt router to do the updating:

1) go to the web interface of your roter - ususally via 192.168.1.1
2) select the setup tab and the DDNS sub tab
3) in the DDNS Service combo choose Custom
4) DYNDNS Server should be set to dynamic.name-services.com
5) for some reason the UI does not allow you to leave out the User Name and Password so I just push _ in each of them
5)Hose Name should be set in our example to dyn.
6) URL should be set to /interface.asp?Command=SetDNSHost&Zone=yourdomain.com&DomainPassword=HEX_PASSWORD_YOU_GOT_FROM_ENOM&HostName=


[Update Aug 11th 2009: based on comment by Greg Bray]
6) URL should be set to /interface.asp?Command=SetDNSHost&Zone=yourdomain.com&DomainPassword=DOMAIN_ACCESS_PASSWORD_YOU_SET_UP&HostName=

To set up the DOMAIN_ACCESS_PASSWORD_YOU_SET_UP use the Domain Access Password field on the General Setting page of the Enom Control panel.

Greg was also kind enough to mention that:

Also, the URL that you listed will use the outgoing ip address as the value for updating the dns record. This should work in most cases, but if you want to specify the IP address for the record you need to include &Address=NEW_VALUE in the update url.
[/Update]

the hostname(5) itself will be appended to the DYNDNS Server(4) and URL(6) to create the entire URL for the request.

if you wish you can set the Additional DDNS Options field to --verbose 5 - this will show a much more informative output in the DDNS Status frame below after you press "Save Settings".

Done ?
now go to the Administration tab and select "Backup" to back up your configuration.

one last information bit:
Dynamic DNS updates FAQ on ENOM
http://www.enomcentral.com/help/faq_dynamicdns.asp

7 comments:

Unknown said...

Hi,
Very nice post. I have rea it carefully looking to the answer to my problem, but unfortunately I could not find it. I hope you can help me: I have bought a domain by enom (throught Google) and have modified the default DNS settings. It didn't work properly and then I decided to restore the default settings ...and Ups! Nothing works now! I think it is because of the Adress for the host "@". Do you know the default directions that ENOM uses? I suppose that it should be something similar to "nsX.enom.com". Am I right? I cannot find any answer on the web and Google does not provide username for enom :-(

Thanks in advance.
Best,
Pimo

Edmond Siu said...

Works like charm! Just what I needed!

However I'd like to write a note on step (5). The dot should be omitted when entering the host field into dd-wrt configuration page, or you'll see errors in the verbose text.

Thanks for this excellent tutorial!

Greg Bray said...

Great post! I was looking for info on how to use Enom's dynamic DNS and your post has just about everything. Just FYI in case anyone else is wondering: It looks like Enom no longer uses a HEX based password. Instead you set your own password using the Domain Access Password field on the General Setting page of the Enom Control panel.

Also, the URL that you listed will use the outgoing ip address as the value for updating the dns record. This should work in most cases, but if you want to specify the IP address for the record you need to include &Address=NEW_VALUE in the update url.

Keep up the great work!

Eyal Peleg said...

Thanks Greg, I updated the post accordingly.

Infinitebuzz said...

Thanks for the post - works perfectly!

Eyal Peleg said...

Glad to hear it still helps people :)

Robert said...

Your post is still helping!

 
Clicky Web Analytics