OpenWRT:DDNS

By | June 10, 2012

DDNS stands for Dynamic DNS. Simply put, using this service gives a name to your ip. So if you’re hosting something on your line, people wouldn’t have to bother typing your IP. They can just type in your domain name! It also helps when your ip changes. Users won’t need to discover what your new ip is, they can simply type your domain name.

1. Register for free account from DDNS provider such as dyndns.org, or no-ip.org.
2. Donwload ddns client updater to your OpenWRT. Go to System->Software and filter for “ddns”. Click lon “luci-app-ddns” to install. Or from your shell: 

root@OpenWrt:~# opkg install ddns-scripts luci-app-ddns

3. Go to Services->Dynamic DNS and enter your account details

Troubleshooting
If something goes wrong, you can see what is happenning by calling /usr/lib/ddns/dynamic_dns_updater.sh myddns from shell.
Note: myddns is the name of the service config entry in /etc/config/ddns file.

Example of bad authentication

Example of good authentication

 

 

Loading