LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-30-2008, 04:42 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Rep: Reputation: 68
ddclient ??


Fedora 8 x86_64
Setting up ddclient.conf , when I finnished I got one successful send to
my Dns server, see below;

Jan 30 16:58:39 localhost ddclient[1987]: SUCCESS: updating ******.homedns.org: good: IP address set to 78.258.237.180

It should have updated in another 10 minutes but it hasn't since then.

Below is the ddclient.conf file, Why isn't it updating, The ddclientd is running in services.


daemon=600
syslog=yes
pid=/var/run/ddclient/ddclient.pid
use=web, web=checkip.dyndns.org/
login=********
password=*******
bob.homedns.org
protocol=dyndns2
server=members.dyndns.org
wildcard=YES
#use=if, if=eth0
#example.dyndns.org
#custom=yes, example.com

Last edited by mickeyboa; 01-30-2008 at 04:50 PM.
 
Old 01-30-2008, 05:10 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
The version of ddclient I'm running checks the file /etc/ddclient/ddclient.cache first. If the value cached is different to the actual value of the IP address, then it connects and updates the record. Otherwise, it doesn't need to connect again.
 
Old 01-30-2008, 05:37 PM   #3
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
I don't have a /etc/ddclient/ddclient.cache directory.
The only thing I have in /etc is the ddclient.conf file.
My version of ddclient is ddclient-3.7.2-1.fc8

Last edited by mickeyboa; 01-30-2008 at 05:39 PM.
 
Old 01-30-2008, 05:52 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I'd confirm that it's running by checking the pid with:
Code:
ps aux | grep `cat /var/run/ddclient/ddclient.pid` | grep -v grep
If it's running, I'd try shutting it down and running it with debugging enabled:
Code:
ddclient -daemon=0 -debug -verbose -noquiet
If the output doesn't identify the problem I'd check the /etc/ddclient/ddclient.conf file to make sure the settings are correct. For example, you're using use=web - are you sure it's providing the correct IP address? I use use=if, if=ppp0 for my ADSL setup at home.

You may also be able to use wireshark to sniff the packets and see what is going wrong.
 
Old 01-30-2008, 06:09 PM   #5
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
My ddclient.cache is in;

/var/cache/ddclient/ddclient.cache

I see what you mean, ddclient will check for new IP every 10 minutes if it doesn't change from what /var/cache/ddclient/ddclient.cache has stored it
won't do a update .
 
Old 01-30-2008, 06:22 PM   #6
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Quote:
Originally Posted by mickeyboa View Post
I see what you mean, ddclient will check for new IP every 10 minutes if it doesn't change from what /var/cache/ddclient/ddclient.cache has stored it
won't do a update .
Exactly, and you can force it to run by deleting /var/cache/ddclient/ddclient.cache and running ddclient again.

Some DDNS providers don't like repeated attempts to update and treat it as cracking if it continues. Although I've had a warning message from DynDNS, I've never had a disruption to the service.
 
Old 01-31-2008, 09:12 AM   #7
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,719

Original Poster
Rep: Reputation: 68
Thanks for your help guys.
Now all I have to do is get NX working on my x86_64, I have used it quit successfully on my i386 boxes.
 
  


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
ddclient hirts123 Slackware 1 08-31-2005 04:29 AM
ddclient problems mblanco2000 Linux - General 1 12-23-2004 10:38 PM
ddclient socks Linux - Software 5 10-17-2004 02:36 AM
ddclient doralsoral Linux - Software 3 04-19-2004 09:14 AM
I need help with 'ddclient' hecresper *BSD 3 05-06-2003 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:20 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
Open Source Consulting | Domain Registration