Differences
This shows you the differences between two versions of the page.
|
doc:howto:ddns.client [2013/02/16 07:51] ericcire |
doc:howto:ddns.client [2013/04/30 20:54] (current) stevenharperuk Added DuckDNS |
||
|---|---|---|---|
| Line 15: | Line 15: | ||
| Let it update, go back to Software. Find luci-app-ddns. Install it, then when it says the installation is finished, it's installed! | Let it update, go back to Software. Find luci-app-ddns. Install it, then when it says the installation is finished, it's installed! | ||
| - | Just press any other link at the openwrt WebUI, and the WebUI will refresh itself and Dynamic DNS will appear under Services > Dynamic DNS | + | Just press any other link at the openwrt WebUI, and the WebUI will refresh itself and Dynamic DNS will appear under Services > Dynamic DNS. If those tabs don't show up, reboot the machine. |
| ==== Step 2, configuration ==== | ==== Step 2, configuration ==== | ||
| Line 62: | Line 62: | ||
| * http://freedns.afraid.org | * http://freedns.afraid.org | ||
| * http://dnsdynamic.org | * http://dnsdynamic.org | ||
| + | * http://duckdns.org free - generated config on site =) | ||
| * Any other service that can update when some URL is accessed. The script is quite versatile. | * Any other service that can update when some URL is accessed. The script is quite versatile. | ||
| Line 86: | Line 87: | ||
| ==== Configuration ==== | ==== Configuration ==== | ||
| - | The configuration is stored in /etc/config/ddns which contains more thorough documentation. | + | The configuration is stored in **/etc/config/ddns** which contains more thorough documentation. |
| In order to enable Dynamic DNS you need at least one section, and in that section the "enabled" option must be set to one. | In order to enable Dynamic DNS you need at least one section, and in that section the "enabled" option must be set to one. | ||
| Line 126: | Line 127: | ||
| </code> | </code> | ||
| - | A short example for a dyndns.org service to configure via UCI CLI: | + | A short example for a **dyndns.org** service to configure via UCI CLI: |
| <code> | <code> | ||
| Line 136: | Line 137: | ||
| root@OpenWrt:~# uci commit ddns | root@OpenWrt:~# uci commit ddns | ||
| root@OpenWrt:~# ACTION=ifup INTERFACE=wan /sbin/hotplug-call iface | root@OpenWrt:~# ACTION=ifup INTERFACE=wan /sbin/hotplug-call iface | ||
| + | </code> | ||
| + | |||
| + | |||
| + | An example for **noip.com** service that updates via pinging web url: | ||
| + | <code> | ||
| + | config 'service' 'myddns' | ||
| + | option 'interface' 'wan' | ||
| + | option 'force_interval' '72' | ||
| + | option 'force_unit' 'hours' | ||
| + | option 'check_interval' '10' | ||
| + | option 'check_unit' 'minutes' | ||
| + | option 'enabled' '1' | ||
| + | option 'service_name' 'no-ip.com' | ||
| + | option 'username' 'YOUR-USERNAME' | ||
| + | option 'password' 'YOUR-PASSWORD' | ||
| + | option 'ip_source' 'web' | ||
| + | option 'ip_url' 'http://[USERNAME]:[PASSWORD]@dynupdate.no-ip.com/nic/update?hostname=[DOMAIN]&myip=[IP]' | ||
| + | option 'domain' 'YOUR-DOMAIN.no-ip.org' | ||
| </code> | </code> | ||
| Line 161: | Line 180: | ||
| </code> | </code> | ||
| Note: //myddns// is the name of the service config entry in ///etc/config/ddns// file. | Note: //myddns// is the name of the service config entry in ///etc/config/ddns// file. | ||
| + | |||
| + | If you only see the update_url= output you forgot the enable flag for the service. | ||
| For example if you see //badauth// in //Update Output//, you have to change your password which contains only letters and numbers. Because busybox's (v1.15.3) wget implementation has an issue handling encoded URLs. | For example if you see //badauth// in //Update Output//, you have to change your password which contains only letters and numbers. Because busybox's (v1.15.3) wget implementation has an issue handling encoded URLs. | ||
| Line 278: | Line 299: | ||
| * [[http://forum.openwrt.org/viewtopic.php?id=14040|exobyte's Kamikaze dyndns.org script (based of JimWright's)]] | * [[http://forum.openwrt.org/viewtopic.php?id=14040|exobyte's Kamikaze dyndns.org script (based of JimWright's)]] | ||
| * run nsupdate from /etc/udhcpc.user to update an authoritative master configured for DDNS. | * run nsupdate from /etc/udhcpc.user to update an authoritative master configured for DDNS. | ||
| - | |||
doc/howto/ddns.client.1360997489.txt.bz2 · Last modified: 2013/02/16 07:51 by ericcire
