LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-04-2003, 07:43 PM   #1
b_usa
Member
 
Registered: Feb 2003
Location: Springfield, OR
Posts: 30

Rep: Reputation: 15
good dyndns client


I am looking for an easy to configure dyndns client... All the ones I have tried aere very complicated, and I couldnt tell if I even had them working or not, as my IP only changes every two three weeks or so. also, what file would I modify to have a particular service startup when I booted up? I know it has something to do with the runlevel, but I am not sure which file it is... Basically I want apache to start when I boot.thanks
 
Old 04-04-2003, 09:49 PM   #2
doublefailure
Member
 
Registered: Mar 2002
Location: ma
Distribution: slackware
Posts: 747

Rep: Reputation: 30
i'm not sure what u r asking

starting apache at boot time
depends on what distro u are using
if u run redhat/mandrake, search this forum with 'chkconfig apache'
you want to do something like chkconfig --add apache or so

about ip changing.
u can just change /etc/hosts file whenever your ip changes
 
Old 04-05-2003, 12:07 AM   #3
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
For those who do not know, dyndns.org (and other sites) provide a IP registration for a permanent FQDN. It is really nice in that upon change, dyndns.org can be notified automatically to update DNS, meaning I could (if I so choose) run a web site always accessible even with changing IP addresses (though a little ridiculous on a dialup) so long as my machine is up. Also I have a permanent mail address that is not dependent on spooling through my ISP, but which is delivered directly to me (particularly can be nice since ISPs may soon be required to save all copies of email by the government, thanks to the illegal and intolerable regime in power in the country I call home -- but I degress....)

I personally use ddclient for automatic updating of dyndns.org. The instructions provided are not all that clear on configuration, but it really is not so bad.

Part of my ddclient.conf looks like this (with information changed to protect the innocent):

login=itsjustme # 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?
wildcard=yes # add wildcard CNAME?

##
## dyndns.org dynamic addresses
##
## (supports variables: wildcard,mx,backupmx)
##
server=members.dyndns.org, \
protocol=dyndns2 \
# your-dynamic-host.dyndns.org
myhost1.homelinux.org # 1st registered name
montain.mine.nu # 2nd registered name

I added their script as is to /etc/ppp/ip-up.local, with the addition of a line or two which updates /etc/hosts to the proper ip number.

I hope this gets you on your way. And yes "chkconfig --add apache" works on most systems (but I don't think Suse uses it). This information is for RH7.3.
 
Old 04-05-2003, 06:46 PM   #4
deckmoney
LQ Newbie
 
Registered: Apr 2003
Distribution: Mandrake 9.1
Posts: 20

Rep: Reputation: 0
No-IP rules

I really like the No-IP service/client. (www.no-ip.com) The setup is super easy (they have both Windows and Linux versions) and the service always works. It's also FREE!!!
 
Old 12-12-2003, 05:42 AM   #5
kedman
LQ Newbie
 
Registered: Feb 2003
Location: Cardiff
Distribution: Fedora core 3
Posts: 18

Rep: Reputation: 0
Quote:
Originally posted by fsbooks

I personally use ddclient for automatic updating of dyndns.org. The instructions provided are not all that clear on configuration, but it really is not so bad.

Part of my ddclient.conf looks like this (with information changed to protect the innocent):

login=itsjustme # 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?
wildcard=yes # add wildcard CNAME?

##
## dyndns.org dynamic addresses
##
## (supports variables: wildcard,mx,backupmx)
##
server=members.dyndns.org, \
protocol=dyndns2 \
# your-dynamic-host.dyndns.org
myhost1.homelinux.org # 1st registered name
montain.mine.nu # 2nd registered name

I added their script as is to /etc/ppp/ip-up.local, with the addition of a line or two which updates /etc/hosts to the proper ip number.

I hope this gets you on your way. And yes "chkconfig --add apache" works on most systems (but I don't think Suse uses it). This information is for RH7.3.


HI Thanks for this info!
I cant seem to get my ddclient to start!
and do we need to add the intreface?
eth0?
here is my attempt:

*****************************************************************************************

#
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=********* # default login
password=******** # default password
mx=************ # default MX
backupmx=yes # host is primary MX?
wildcard=yes

----------------------------------------------------------------------
[root@panther ddclient-3.6.3]# cp sample-etc_rc.d_init.d_ddclient /etc/rc.d/init.d/ddclient
[root@panther ddclient-3.6.3]# /sbin/chkconfig --add ddclient
[root@panther ddclient-3.6.3]# /etc/rc.d/init.d/ddclient start
Starting ddclient: /etc/rc.d/init.d/ddclient: line 21: ddclient: command not found

[root@panther ddclient-3.6.3]# /etc/rc.d/init.d/ddclient start
Starting ddclient: /etc/rc.d/init.d/ddclient: line 21: ddclient: command not found

[root@panther ddclient-3.6.3]#

*************************************************************************************
ps I am running cable with NTL and all seems to run ok
IP changes now and then

pps just noticed I got the MX wrong I'll change that!

Not sure what I'm doing wrong
Its on a clarkconnect box running rh 9 I assume
Thanks all
Kedman
 
Old 12-12-2003, 06:41 AM   #6
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
You need to copy the "ddclient" binary to an executable location. I think the path may be hardcoded (so it needs to reside in /usr/bin or whatever) so watch where you put it. Read the docs, it's all there.

I would check my own config but I recently had to bring my server down after two years of good service.

Håkan
 
Old 12-12-2003, 07:06 AM   #7
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
I've switched myself from a dynamic dialup to static dsl. As hw-tph says, the information you need is all in the README included in the packages and sample files included (which of course need modification to fit your particular situation). I put ddclient in /usr/sbin and used the the file sample-etc_ppp_ip-up.local to modify my /etc/ppp/ip-up.local. This was for a configuration in non-daemon mode. ddclient can also be run as a daemon or as part of a cron, and there is a debug mode.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommend a good BitTorrent client, and a good CD ripper? audiorevolution Linux - Software 6 06-07-2005 06:36 AM
Good FTP Client? AFI_Flame Linux - Software 5 10-05-2004 05:17 PM
Good Email Client mblanco2000 Linux - Software 10 04-14-2004 06:58 AM
Good AIM Client Brother Michael Linux - Newbie 3 08-18-2003 03:51 PM
I need a good e-mail client Wolf Linux - Newbie 2 07-22-2002 04:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration