Difference between revisions of "Dynamic DNS updater"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(Port from linkstationwiki.org)
 
Line 37: Line 37:
 
  password=MyOwnDyndnsPassword
 
  password=MyOwnDyndnsPassword
 
  mysite1.homelinux.com,mysite2.homelinux.com,mysite3.homelinux.com
 
  mysite1.homelinux.com,mysite2.homelinux.com,mysite3.homelinux.com
 +
 +
[[Category:Debian]]

Revision as of 23:11, 25 June 2006

Installing a Dyndns updater


Sites like www.dyndns.org allow you to use names like mysite.homelinux.com mysite.dyndns.org instead of your IP address, even if your IP address changes all the time as is often the case with DSL connections.


  • Get an account at www.dyndns.org Write down your dyndns.org username and password, you’ll need it for the dyndns updater configuration. Just for simplicity, let’s assume you created “MyOwnDyndnsAccount” with a “MyOwnDyndnsPassword” password.


  • Create a Dynamic DNS entries at dyndns.org.
example: 3 names
mysite1.homelinux.com
mysite2.homelinux.com
mysite3.homelinux.com
  • Get on your Linkstation using telnet or ssh apt-get install ddclient
apt-get install ddclient
  • You’ll get a few questions from the installer (don't remember the exact order):
    • The interface: "web".
    • username:"MyOwnDyndnsAccount"
    • password:"MyOwnDyndnsPassword"
    • Dyndns hosts list: use commas “,” between the Dyndns host names: mysite1.homelinux.com,mysite2.homelinux.com,mysite3.homelinux.com"


  • If you wish to modify the file directly, here’s a sample that works:
Linkstation:/etc# more ddclient.conf
pid=/var/run/ddclient.pid
protocol=dyndns2
use=web
server=members.dyndns.org
login=MyOwnDyndnsAccount
password=MyOwnDyndnsPassword
mysite1.homelinux.com,mysite2.homelinux.com,mysite3.homelinux.com