Difference between revisions of "Dynamic DNS updater"

From NAS-Central Buffalo - The Linkstation Wiki
Jump to: navigation, search
(changed config file based on my actual working install)
Line 25: Line 25:
  
 
* You’ll get a few questions from the installer (don't remember the exact order):  
 
* You’ll get a few questions from the installer (don't remember the exact order):  
**The interface: "web".
+
**The interface: "web". You'll need to change that later.
 
**username:"MyOwnDyndnsAccount"
 
**username:"MyOwnDyndnsAccount"
 
**password:"MyOwnDyndnsPassword"
 
**password:"MyOwnDyndnsPassword"
 
**Dyndns hosts list: use commas “,” between the Dyndns host names: mysite1.homelinux.com,mysite2.homelinux.com,mysite3.homelinux.com"
 
**Dyndns hosts list: use commas “,” between the Dyndns host names: mysite1.homelinux.com,mysite2.homelinux.com,mysite3.homelinux.com"
  
 
+
* you'll need to modify the file directly for the "use=" line, here’s a sample that works
 
+
(change "use if=..." to "use=web, web=checkip.dyndns.org"):  
* If you wish to modify the file directly, here’s a sample that works:  
+
  
 
  Linkstation:/etc# more ddclient.conf
 
  Linkstation:/etc# more ddclient.conf
 
  pid=/var/run/ddclient.pid
 
  pid=/var/run/ddclient.pid
 
  protocol=dyndns2
 
  protocol=dyndns2
  use=web
+
  use=web, web=checkip.dyndns.org
 
  server=members.dyndns.org
 
  server=members.dyndns.org
 
  login=MyOwnDyndnsAccount
 
  login=MyOwnDyndnsAccount

Revision as of 17:57, 21 August 2006

This article Based on work by flavoie at Linkstationwiki.org


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". You'll need to change that later.
    • username:"MyOwnDyndnsAccount"
    • password:"MyOwnDyndnsPassword"
    • Dyndns hosts list: use commas “,” between the Dyndns host names: mysite1.homelinux.com,mysite2.homelinux.com,mysite3.homelinux.com"
  • you'll need to modify the file directly for the "use=" line, here’s a sample that works

(change "use if=..." to "use=web, web=checkip.dyndns.org"):

Linkstation:/etc# more ddclient.conf
pid=/var/run/ddclient.pid
protocol=dyndns2
use=web, web=checkip.dyndns.org
server=members.dyndns.org
login=MyOwnDyndnsAccount
password=MyOwnDyndnsPassword
mysite1.homelinux.com,mysite2.homelinux.com,mysite3.homelinux.com
Originally by flavoie from linkstationwiki.org