Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Aug 2002 14:12:51 -0500 (CDT)
From:      Jason P Holland <jholland@cs.selu.edu>
To:        sroberts@dsl.pipex.com
Cc:        questions@FreeBSD.ORG
Subject:   Re: Dynamic DNS issues
Message-ID:  <Pine.LNX.4.44.0208011411120.1033-100000@cs.selu.edu>
In-Reply-To: <1028225834.339.14.camel@Demon.vickiandstacey.com>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi Stacey,

> Hi Jason,
>    I also use ddclient here with my ADSL connected FBSD gateway,
> however, I use ZoneEdit.com's dynamic DNS services.
> 
> I'm not sure that ddclient is actually working alright, to be honest. I
> installed it yesterday which placed this ddclient.cache log:
> 
> # cat ddclient.cache
> ## ddclient-3.6.2
> ## last updated at Wed Jul 31 18:13:06 2002 (1028135586)
> atime=1028135586,host=<hostname>,ip=<extIP>,mtime=1028135586,status=good,warned-min-error-interval=0,warned-min-interval=0,wtime=0 <my.domain.com>
> #
> 
> Since then, however, the box rebooted due to an unplanned power-outage
> and no logs whatsoever appear to have been produced on boot-up. Like I
> said, I'm not sure what *is* supposed to happen in that case, but I
> would have thought that on boot-up, ddclient would have attempted to
> verify the external IP address soon after the box came up.
> 

it should have, if you have the rc script in place to kick the daemon off 
at startup.  do you?

> I use the SMC 7401BRA Barricade ADSL Router, which doesn't appear to be
> supported (at least by model) so I went with the "check against web url"
> option. Here's what my ddclient.conf looks like:
> 
> # more ddclient.conf
> ######################################################################
> ## 
> ## Define default global variables with lines like:
> ##      var=value [, var=value]*
> ## These values will be used for each following host unless overridden
> ## with a local variable definition.
> ##
> ## Define local variables for one or more hosts with:
> ##      var=value [, var=value]* host.and.domain[,host2.and.domain...]
> ##
> ## Lines can be continued on the following line by ending the line
> ## with a \
> ##
> ######################################################################
> daemon=300                                      # check every 300
> seconds
> syslog=yes                                      # log update msgs to
> syslog
> mail=root                                       # mail update msgs to
> root
> pid=/var/run/ddclient.pid                       # record PID in file.
> #
> #use=watchguard-soho,        fw=192.168.111.1:80        # via
> Watchguard's SOHO FW
> #use=netopia-r910,           fw=192.168.111.1:80        # via Netopia
> R910 FW
> #use=smc-barricade,          fw=192.168.123.254:80      # via SMC's
> Barricade FW#use=netgear-rt3xx,          fw=192.168.0.1:80          #
> via Netgear's internet FW
> #use=linksys,                fw=192.168.1.1:80          # via Linksys's
> internet FW
> #use=maxgate-ugate3x00,      fw=192.168.0.1:80          # via MaxGate's
> UGATE-3x00  FW
> #use=elsa-lancom-dsl10,      fw=10.0.0.254:80           # via ELSA
> LanCom DSL/10 DSL Router
> #use=elsa-lancom-dsl10-ch01, fw=10.0.0.254:80           # via ELSA
> LanCom DSL/10 DSL Router
> #use=elsa-lancom-dsl10-ch02, fw=10.0.0.254:80           # via ELSA
> LanCom DSL/10 DSL Router
> #use=alcatel-stp,            fw=10.0.0.138:80           # via Alcatel
> Speed Touch Pro
> #use=xsense-aero,            fw=192.168.1.1:80          # via Xsense
> Aero Router#fw-login=admin,             fw-password=XXXXXX         # FW
> login and password
> #
> ## To obtain an IP address from FW status page (using fw-login,
> fw-password)
> #use=fw, fw=192.168.1.254/status.htm, fw-skip='IP Address' # found after
> IP Address
> #
> ## To obtain an IP address from Web status page (using the proxy if
> defined)
> use=web, web=checkip.dyndns.org/, web-skip='IP Address' # found after IP
> Address#
> #use=ip,                     ip=127.0.0.1       # via static IP's
> #use=if,                     if=eth0            # via interfaces
> use=web                                 # via web
> #
> #protocol=dyndns2                               # default protocol
> #proxy=fasthttp.sympatico.ca:80                 # default proxy
> #server=members.dyndns.org                      # default server
> #server=members.dyndns.org:8245                 # default server
> (bypassing proxies)
> 
> #login=your-login                               # default login
> #password=test                                  # default password
> #mx=mx.for.your.host                            # default MX
> #backupmx=yes|no                                # host is primary MX?
> #wildcard=yes|no                                # add wildcard CNAME?
> 
> ##
> ## dyndns.org dynamic addresses
> ##
> ## (supports variables: wildcard,mx,backupmx)
> ##
> # server=members.dyndns.org,            \
> # protocol=dyndns2                      \
> # your-dynamic-host.dyndns.org
> 
> ##
> ## dyndns.org static addresses
> ##
> ## (supports variables: wildcard,mx,backupmx)
> ##
> # static=yes                            \
> # server=members.dyndns.org,            \
> # protocol=dyndns2                      \
> # your-static-host.dyndns.org
> 
> ##
> ##
> ## dyndns.org custom addresses
> ##
> ## (supports variables: wildcard,mx,backupmx)
> ##
> # custom=yes                            \
> # server=members.dyndns.org,            \
> # protocol=dyndns2                      \
> # your-domain.top-level,your-other-domain.top-level
> 
> ##
> ## ZoneEdit (zoneedit.com)
> ##
>  server=www.zoneedit.com,               \
>  protocol=zoneedit1,                    \
>  login=<snip>                \
>  password=<snip>  \
>  <my.domain.com>
> 
> ##
> ## EasyDNS (easydns.com)
> ##
> # server=members.easydns.com,           \
> # protocol=easydns,                     \
> # login=your-easydns-login,             \
> # password=your-easydns-password        \
> # your.any.domain,your-2nd.any.domain
> 
> ##
> ## Hammernode (hn.org) dynamic addresses
> ##
> # server=dup.hn.org,                    \
> # protocol=hammernode1,                 \
> # login=your-hn-login,                  \
> # password=your-hn-password             \
> # your-hn-host.hn.org,your-2nd-hn-host.hn.org
> 
> ##
> ## dslreports.com dynamic-host monitoring
> ##
> # server=members.dslreports.com         \
> # protocol=dslreports1,                 \
> # login=dslreports-login,               \
> # password=dslreports-password          \
> # dslreports-unique-id
> #
> 
> I'd *really* appreciate your (and any other ddclient users') thoughts on
> my configs and what I can expect from running ddclient.
> 
> Thanks for the time.
> 
> Stacey
>

have you tried debug mode?

$ ddclient -daemon=0 -debug -verbose -noquiet

try that and see if you can even connect to the router.  that will 
hopefully give you a starting point to troubleshoot.

jason




 
> 
> On Thu, 2002-08-01 at 18:49, Jason P Holland wrote:
> > 
> > Ken,
> >   if you go to dyndns.org, they have multiple clients to choose from that
> > can run on your freebsd system and poll the router for an external ip
> > address.  it is very likely your router is supported as dlink is a popular
> > brand.  here is the link for unix/linux clients
> > 
> > http://clients.dyndns.org/unix.php?service=custom
> > 
> > i use ddclient at home with a linksys router, it works wonderfully, and 
> > was easy to setup.  these of course, work with the dyndns service, but 
> > i'm sure others can be found, or these can be modified to suit your 
> > needs.  hope this helps
> > 
> > jason
> > 
> > 
> > > Hello all,
> > > 
> > > I have a DSL connection (Dynamic IP) that feeds my DLINK wireless
> > > router/firewall. I have my Freebsd box hardwired to the router and then I
> > > have a laptop and a windows box using wireless nics. Everything works great!
> > > Now I want to allow access to my web and ftp server on the Bsd box. I have
> > > my own domain name already and can use one of the dynamic dns hosting
> > > services. But how can I (automatically  of course), update my dynamic dns? I
> > > am unsure how to pull the wan ip from the router. The router is passing all
> > > requests on port 80 to my bsd box. But I need to find out my wan  ip to
> > > update the dns. I would like to maybe run a shell script or something get
> > > the wan ip and then update the dns. I have a script ot do the actual update,
> > > but any ideas on how to pull the wan ip? All I keep getting back is the lan
> > > ip (192.168.0.1)
> > > 
> > > Any thoughts or ideas from anybody ? This wouldn't be so bad but it seems
> > > that the dynamic ip is changed at odd intervals and pretty often. So it
> > > makes it a real pain to keep up with it manually.
> > > 
> > > 
> > > Thanks
> > > 
> > > 
> > > Ken
> > > 
> > > 
> > > 
> > > 
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-questions" in the body of the message
> > > 
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0208011411120.1033-100000>