It is possible to setup dynamic DNS with your router. DD-WRT, a free Linux-based firmware for several wireless routers, offers multiple dynamic DNS setups. In this example I have chosen to use DD-WRT with the free dynamic DNS service EveryDNS. Although DD-WRT does not specifically list EveryDNS as an option under the Setup – DDNS section, you can easily add it in the following manner:
- Login into the DD-WRT control panel for your router and choose Setup – DDNS.
- Fill in the following values:
- DDNS Service = Custom
- DYNDNS Server = dyn.everydns.net
- User name = your username
- Password = password for you account
- Host Name = your domain name
- URL = /index.php?ver=0.1&domain=your_domain_name
- Save and Apply your settings.
If you are not using EveryDNS, you can find instructions for other dynamic DNS providers on the DD-WRT Wiki.
Just a note, but if you put a Domain in Host Name it is appended to the end of the URL. So what you would end up with is
“dyn.everydns.net/index.php?ver=0.1&domain=your_domain_nameyour_domain_name”
We suggest that you use the URL
“/index.php?ver=0.1&domain=”.
That way if you leave the Host Name blank we’ll update all the domains on your account. If you put a domain in the Host Name field then we’ll update just that domain.
Hope that helps!
Ok, so I’ve tried both ways – with /index.php?ver=0.1&domain= and /index.php?ver=0.1&domain=mydomain.com with no luck.
I’ve got automatic DHCP set (not a static IP) and then in the DDNS tab I’ve got all my information correct. BUT, I get these errors:
Thu Jan 1 13:37:13 1970: INADYN: Started ‘INADYN Advanced version 1.96-ADV’ – dynamic DNS updater.
Thu Jan 1 13:37:13 1970: INADYN:IP: Error ‘0x2’ resolving host name ‘checkip.dyndns.org’
Thu Jan 1 13:37:13 1970: W: DYNDNS: Error ‘RC_IP_INVALID_REMOTE_ADDR’ (0x12) when talking to IP server
Thu Jan 1 13:37:13 1970: W:’RC_IP_INVALID_REMOTE_ADDR’ (0x12) updating the IPs. (it 0)
the 1st error is strange cause if I go to checkip.dyndns.org, it gives me the correct IP I need. (if I put this IP as the static IP, I can get to my router fine from the outside – but, this IP changes, hence the need for DDNS).
Can anyone help me work through this?
This article is specifically talking about EveryDNS, and not dyndns.org. These are two different Dynamic DNS providers. You need to check DD-WRT’s documentation or go to dyndns for help. Try this and see if it works: http://www.dd-wrt.com/wiki/index.php/Dynamic_DNS#DynDNS
Great article, but that doesn’t seem to work with my router ip, any advice?