Author Topic: Howto: auto-update DynDNS on Linux firewall  (Read 1379 times)

0 Members and 1 Guest are viewing this topic.

Offline Tirkic

  • Administrator
  • Hero Member
  • *****
  • Posts: 16512
Howto: auto-update DynDNS on Linux firewall
« on: November 13, 2009, 11:01:38 PM »
Howto Make ClarkConnect Auto-update DynDNS IP Address from your desktop.
What you need:

-Putty ( You are not allowed to view links. Register or Login )
-A DynDNS account, free (as in beer).

1) Install putty onto your Windows box

2) Putty into the Clark server and do:

 
Code: You are not allowed to view links. Register or Login
$ wget [url]http://downloads.sourceforge.net/ddclient/ddclient-3.7.3.tar.gz[/url]
$ tar zxvf ddclient-3.7.3.tar.gz
$ cd ddclient*
$ cp ddclient /usr/sbin
$ mkdir /etc/ddclient

3) In your internet browser, log into DynDNS.com > Support > DNS Tools > Update Client Configurator> have it create the config text for ddclient. Copy this text onto clipboard. Then, in the Putty window, do:


Code: You are not allowed to view links. Register or Login
$ nano /etc/ddclient/ddclient.conf
4) Paste the clipboard, (alt-click the mouse in the Putty window) find the DynDNS account password and enter it in the space allotted, and crtl+o; crtl+x. Then do:


 
Code: You are not allowed to view links. Register or Login
$ ddclient -daemon=0 -query
$ cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
$ /sbin/chkconfig --add ddclient
Test by doing:

 
Code: You are not allowed to view links. Register or Login
$ ddclient
As a final check, manually log into DynDNS (on the web) and change your IP address to something incorrect. Reboot the server, ( $ reboot in putty) check your DynDNS account webpage to see if the IPs have been correctly updated.