25 March 2010

Updating multiple domains with DDNS using a Linksys router and DynDNS

[ updated 28 Sep 2010 ]

Had to update to a newer Linksys router (E1000) and discovered that you cannot configure it with multiple, comma-delimited DDNS domains. After firmware updates etc., I found this article confirming that the E1000 and E2000 don't allow it but the E3000 (+$$$s) does. The validation is done on the page in JavaScript here:

function check_hostname(F)
	var obj = F.ddns_hostname.value ; 
	var returnvalue =  check_domain(obj) ; 
	if ( !returnvalue ) 
		alert("Illegal value");
	return returnvalue ; 	

To get around the validation, go into your favorite script debugger (Opera's Dragonfly for me, otherwise Firefox's Firebug), break on the conditional, and when the page is saved and the breakpoint activates, change returnvalue from false to true using the Command Line pane. Of course, you have to repeat the process anytime you change the form, but needless validation avoided!

You can use a Linksys WRT54G router to update the IP address for multiple domain names managed by DynDNS's service. This is useful if your home ISP account uses a dynamic IP and you are hosting multiple domains or simply multiple sub-domains.

On the Linksys router admin page, go to Setup > DDNS. In the host name field, you can add multiple hosts separated by commas. I haven't found this documented anywhere, but it seems to work for me.

[ posted by sstrader on 25 March 2010 at 8:20:39 AM in Home Network & Gadgets ]