pavement

DynDns

From FreeBSDwiki
Revision as of 18:40, 12 June 2008 by GNUtoo (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

DynDns is one of the free(as in no cost) Dynamic DNS provider.A Dynamic Dns is a service that permit you to have your own address name (such as rails.homelinux.org/) so you can offer services such as SSH or web server(http://rails.homelinux.org/)

while having a Dynamic ip...

The setup

I tried:

  • updatedd: updatedd-wrapper doesn't have a rc.d mode so you need to create it yourseld
  • ipcheck : doesn't work for me because it doesn't find my ip on my userspace pppoe interface(tun0)
  • ddclient: comes with a rc.d script...that's the good one

It would be nice if the ppp daemon could call script when the ip changes...but as i don't know how to do it we will use the daemon mode of ddclient.


run this command in order to install ddclient:

cd /usr/ports/dns/ddclient && make config && make install

then you need to configure it: here's my config file:

login=GNUtoo					# default login
password=mypassword				# default password
#mx=mx.for.your.host				# default MX
#backupmx=yes|no				# host is primary MX?
#wildcard=yes|no				# add wildcard CNAME?
 custom=yes,                            \
 server=members.dyndns.org,             \
 protocol=dyndns2                       \
 gnutoo.homelinux.org

you can do your own copying the sample file to /usr/local/etc/:

cp /usr/local/etc/ddclient.conf.sample /usr/local/etc/ddclient.conf

and then editing it...

Personal tools