Difference between revisions of "Bering-uClibc 5.x - User Guide - Advanced Topics - Setting Up a Dynamic DNS Client with ddclient"

From bering-uClibc
Jump to: navigation, search
m (Configure shorewall)
m (About ddclient)
Line 30: Line 30:
  
 
To load <code class="filename">ddclient</code> during boot, add <code class="filename">ddclient.lrp</code> to the list of packages in <code class="filename">leaf.cfg</code>.
 
To load <code class="filename">ddclient</code> during boot, add <code class="filename">ddclient.lrp</code> to the list of packages in <code class="filename">leaf.cfg</code>.
 +
 +
You can run <code class="filename">ddclient</code> either in daemon mode or from cron to update your IP address at a given dynamic DNS service. If you have a PPP connection to the Internet, you can also update the IP address calling a script from <code class="filename">/etc/ppp/ip-up.d</code> - a sample script to start with is provided in the sources of <code class="filename">ddclient</code>.
  
 
==Configuring ddclient==
 
==Configuring ddclient==

Revision as of 15:07, 1 January 2014

Advanced Topics - Setting Up a Dynamic DNS Client with ddclient
Bering-uClibc 5.x - User Guide Next

Note: This page is work-in-progress

About ddclient

DDclient is a Perl client used to update dynamic DNS entries for accounts on Dynamic DNS Network Services' free DNS service. Supported features include: operating as a daemon, manual and automatic updates, static and dynamic updates, optimized updates for multiple addresses, MX, wildcards, abuse avoidance, retrying failed updates, and sending update status to syslog and through e-mail.

Supported dynamic DNS services are:

(Probably more, but these are the ones we've found in the current README and RELEASENOTES of ddclient).

To load ddclient during boot, add ddclient.lrp to the list of packages in leaf.cfg.

You can run ddclient either in daemon mode or from cron to update your IP address at a given dynamic DNS service. If you have a PPP connection to the Internet, you can also update the IP address calling a script from /etc/ppp/ip-up.d - a sample script to start with is provided in the sources of ddclient.

Configuring ddclient

You can edit the ez-ipupdate configuration file through the package configuration menu:

                       ddclient configuration files

      1) ddclient configuration
      2) ddclient cron entry

 q) quit
---------------------------------------------------------------------------
       Selection:


tbc

Using ddclient

tbd

Configuring shorewall

You need to add a rule to allow accessing port 80 from your firewall on the net zone to make ddclient work. Therefore add to /etc/shorewall/rules

HTTP/ACCEPT         fw       net

Don't forget to save your configuration with lrcfg -> s!

Additional Reading

https://sourceforge.net/p/ddclient/wiki/usage explains the available configuration options for ddclient.

https://sourceforge.net/p/ddclient/wiki/protocols documents how to use ddclient with otherdynamic DNS services.


Up Next