LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-25-2005, 12:10 PM   #1
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Rep: Reputation: 15
ddclient not updating dyndns.org help


I have ddclient configured to use dyns.org, but for some reason it is not updating dyndns.org if my new ip addresses? Im not so sure there is a probably with my conf file as there maybe something blocking the port it uses.


I have it installed on debian woody.

Thanks in advance,

Boyd




Here is all ddclient.conf

pid=/var/run/ddclient.pid
protocol=dyndns2
use=if, if=eth0
server=members.dyndns.org
login=xxxx
password=xxx
xxxx.homelinux.com
 
Old 03-25-2005, 06:10 PM   #2
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
Silly question: Did you read the README file in the package?

I tried to configure it based on the web help (ddclient.sourceforge.net) and really screwed it up the first time. Configuring the current package is very different for what you read online.

1) Can you tell if it is getting a valid IP address? Try running the debugger:

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

and look though the output for hints.


2)If it has problems getting the IP address, try a different IP source like:

/etc/ddclient/ddclient.conf:
use=web, web=checkip.dyndns.org/, web-skip=’IP Address’


3) Try running:

#ddclient -force # Force update of dyndns


4)I have a lot of trouble resolving members.dyndns.org, so I now use an IP address in ddclient.conf.


5) Maybe you just left it off, but I don’t see an update interval:

/etc/ddclient/ddclient.conf:
daemon=300 #update every 5 minutes


Hope that helps.

PS: It is a really, really nice utility when you (eventually) get it to run, but the current documentation is horrible.
 
Old 03-26-2005, 08:17 AM   #3
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by WhatsHisName
Silly question: Did you read the README file in the package?

I tried to configure it based on the web help (ddclient.sourceforge.net) and really screwed it up the first time. Configuring the current package is very different for what you read online.

1) Can you tell if it is getting a valid IP address? Try running the debugger:

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

and look though the output for hints.

*****Yea its not pulling the correct IP, its puling my LAN ip*********

2)If it has problems getting the IP address, try a different IP source like:

/etc/ddclient/ddclient.conf:
use=web, web=checkip.dyndns.org/, web-skip=’IP Address’

********Does this replace a line of code in my current config file, or do i just need to add it****************


3) Try running:

#ddclient -force # Force update of dyndns


******Think I found the real problem, my debian box can not ping any web addresses, and it does resolve them though, any thoughts on this**********


4)I have a lot of trouble resolving members.dyndns.org, so I now use an IP address in ddclient.conf.

******* thanks ill give this a shot***********

5) Maybe you just left it off, but I don’t see an update interval:

/etc/ddclient/ddclient.conf:
daemon=300 #update every 5 minutes

*******I didnt leave it out, thats my complete config file, I thought the default was set to update every 5 minutes, and if i wanted to modify it to another value, i would make that change******


Hope that helps.

PS: It is a really, really nice utility when you (eventually) get it to run, but the current documentation is horrible.

Thx again, any other additional info would be appreciated

Boyd

Last edited by boyd98; 03-26-2005 at 08:19 AM.
 
Old 03-26-2005, 08:30 AM   #4
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Original Poster
Rep: Reputation: 15
Changed my .conf file to the following


****************
pid=/var/run/ddclient.pid
protocol=dyndns2
#use=if, if=eth0
use=web, web=63.209.15.212, web-skip='IP Address'
server=63.208.196.94
login=xxxx
password=xxxx
xxxx.homelinux.com
****************


When I use, ddclient -daemon=0 -debug -verbose -noquiet

When it tries to connect to an IP address it just hangs? This linux server is fairly new, I use it only as a lan server. I think I have an issue with my network, I am able to resolve internet addresses but u/a to ping them.


Any suggestions.

Thx again,

Josh
 
Old 03-26-2005, 09:02 AM   #5
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
Yes, it sounds like the short term problem is a networking problem. My universal “helpful suggestion” is to stop the iptables service and try ddclient again.

I don’t understand. You can resolve a Fully Qualified Domain Name to an IP address, but pinging it doesn’t work? If you ping something like www.yahoo.com, what do you get? If the server is using a static IP address, are the gateway IP and DNS addresses properly defined on the server?
 
Old 03-26-2005, 10:00 AM   #6
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Original Poster
Rep: Reputation: 15
Yea it resolves the ip address of www.yahoo.com, but i can not ping it.


PING www.yahoo.akadns.net (68.142.226.50): 56 data bytes

--- www.yahoo.akadns.net ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss





Thx,

Boyd
 
Old 03-26-2005, 11:10 AM   #7
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
How odd. There seems to be a disconnect between the ability to get DNS and the ability to access the WAN gateway, almost like you are using an internal DNS server with a messed up WAN proxy.

Could you describe your LAN setup? Is the linux box directly connected to the WAN connection or do you use some type of linux or hardware gateway/router?

If the linux box is not the gateway, try assigning it a static IP address along with the gateway and DNS IP addresses. Likewise, if it has a static IP address, try using DHCP instead.
 
Old 03-26-2005, 11:49 AM   #8
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Original Poster
Rep: Reputation: 15
Lan setup:

got a windows XP desktop, AIX box, and a debian woody box.

All connect to a router. Other machines connect fine.

The debian machine I do have 2 ethernet cards installed. Only really configured 1, Eth0. I plan on playing around with ip masquearding and trying it as a firewall at some time. Not sure if having to cards in there is an issue or not.

Here is my /etc/network/interfaces file

**************************************
auto lo
iface lo inet loopback

# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.0.50
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1

auto eth1
iface eth1 inet static
address 192.168.10.11
netmask 255.255.255.0
network 192.168.10.0
broadcast 192.168.10.255
gateway 192.168.10.1
*********************************************


Eth0 is the one plugged into my router, works fine on the lan. samba shares display, ect....


What do you think, im thinking there is some defualt firewall setting on debian woody that i have not opened up yet....



Thx again,

Ivo
 
Old 03-26-2005, 12:25 PM   #9
WhatsHisName
Senior Member
 
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHL9;F1-10; CentOS4-5; DebianSarge-Squeeze
Posts: 1,151

Rep: Reputation: 46
You are probably right about the two NICs. I ran into similar problems on one linux box with two NICs, both connected to the LAN. Removing one solved the problems and it may work for you (or at least for diagnostic purposes). If you want to keep both, you should repost a question in this forum about using 2 NICs and the problem you are seeing with ping.

Back to ddclient, there is a debugging utility described in the README file that makes selecting which “use=...” to use trivial, if you want to use the router as the IP address source. It spits out a list of what each “use=...” configuration reports as the IP address and you can pick the one(s) that give the right IP address. For my Linksys router, there were 4 or 5 “use=...” options that gave the right IP address. And, of course, “use=linksys...” worked great.
 
Old 03-26-2005, 01:59 PM   #10
boyd98
Member
 
Registered: Oct 2003
Posts: 156

Original Poster
Rep: Reputation: 15
im thinkin more of a firewall setting. The secondary NIC card is installed, but not connected to anything.

there is got to be a firewall setting somewhere (i think), not on my router, but more at the linux level



Boyd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
rc.ddclient script for dyndns.org shilo Slackware 23 08-11-2004 03:07 PM
dyndns.org cojo Linux - Newbie 3 04-20-2003 02:10 PM
Is anyone using dyndns.org??? cojo Linux - Software 7 03-04-2003 11:09 PM
dyndns.org d3funct Linux - Networking 1 04-25-2002 12:38 PM
Dynamic IP adressing with dyndns.org? philfighter Linux - Networking 0 08-06-2001 12:54 AM

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

All times are GMT -5. The time now is 01:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration