LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Update dyndns help . . . . (https://www.linuxquestions.org/questions/linux-networking-3/update-dyndns-help-316456/)

snapper64 04-23-2005 03:01 PM

Update dyndns help . . . .
 
Hi Guys,

I have recently set up a dyndns account and im using Redhat 7.3. Is there any software/perl script/bash script . . . out there that will update my dyndns account with my new ip and then email me my new ip ? I have serched and searched, but haven't found anything worth using :(

Hope you can help me :)

Charlie

zeos 04-23-2005 03:04 PM

ddclient (http://ddclient.sourceforge.net/ ) will do that....but it only mails through the local mta, so you'll have to have mail configured...

snapper64 04-23-2005 03:09 PM

will it work with qmail, also i forgot to mention that i use a router, basically because i need to have multiple computers on the web. Will this software get my external ip not my LAN/internal ip ?

zeos 04-23-2005 03:50 PM

It can be configured to get your ip either directly from an interface (for those without routers), from the router directly, or from a webpage (checkip.dyndns.org) ...It should work fine with any mta, though if you want the email sent to a non-local account your mta will have to be able to either deliver it directly or via a smarthost (if you can point a mail client at your mta and send mail you're golden)

Here's a sample configuration to get the ip from a linksys wrt54g:
Code:

syslog=yes
mail=username@host.com
pid=/var/run/ddclient.pid
use=fw, fw=192.168.1.1:80/Status_Router.asp, fw-login=fwuser, fw-password=fwpass fw-skip='wan_ip'
login=dyndns_username
password=dyndns_password
server=members.dyndns.org
protocol=dyndns2
myacct.dyndns.org


snapper64 04-23-2005 06:13 PM

Hi,

Sorry about my stupid reply, the software is pretty self explanitory . . .
Anyway its working now :D

Thanks for reccomending it !

Charlie

zeos 04-23-2005 06:22 PM

lol, don't worry about it ;)....another cool thing is, those inactive emails from dyndns will be forever gone ...(if you're on a "semi-static" ip as my cable company has me) ..if your ip doesn't change in 15 days it'll force an update to keep the account active...


All times are GMT -5. The time now is 09:15 PM.