Koenraad Lelong | 9 May 18:14
Picon
Favicon

Duplicate tries to update

Hi,

Since a while ddclient tries more than one time to update my domains. 
Since I'm having stability problems with my dsl-line I risk being locked 
out of zoneedit.com.

This is what I get at the second try :

WARNING:  file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value 
for keyword 'ip' = '77.109.102.164/'
SUCCESS:  updating xxx.de-brouwerij.be: IP address set to 77.109.102.164 
(201: No records need updating.)

regards,
    ddclient <at> neptunus (version 3.8.0)

I do have two domains I update with ddclient, with different dns-services.

Is this a bug ?

Thanks,

Koenraad Lelong

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
(Continue reading)

Felix Lechner | 31 Oct 19:13
Picon

Support for IPv6 (patch)

For some reason I cannot read all messages in this thread, but I would like
to second Eduardo's request for the new ipv6 feature.

>From the abundance of ipv6 addresses it may seem that 'ddclient' has no use
in the future, but that is not true.  Several ipv6 transition scenarios,
including Teredo, involve dynamic addresses (although no NAT).

One could, and perhaps should, use 'ddclient' for relaying corresponding
updates to dynamic DNS.

Eduardo's solution to separate ipv4 and ipv6 makes great sense, because one
can serve both protocols both from different equipment.  Many free hosting
plans provide only ipv4.  Serving ipv6, on the other hand, is uncomplicated
even when behind NAT and requires no port forwarding.

Hurricane Electric (he.net) offers dynamic DNS for A and AAAA records.  I
would like to use 'ddclient' for that purpose.

Sincerely,
Felix
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook 
in minutes. BlackBerry App World&#153; now supports Android&#153; Apps 
for the BlackBerry&reg; PlayBook&#153;. Discover just how easy and simple 
it is! http://p.sf.net/sfu/android-dev2dev
Eduardo Trápani | 12 Sep 17:51
Picon

Re: Support for IPv6 (patch)

>> No, it doesn't, you're right.  It's simply that Debian doesn't have
>> /sbin int its path for non root users.  You have to add it or call
>> /sbin/ifconfig directly but you do not need root privileges.
> 
> That seems broken.  The directory /sbin typically contains various
> utilities that normal users can legitimately execute to gather
> information, like dmesg, mount, ping, route, sysctl...
> In /usr/sbin, there is more useful stuff like apm, arp, chgrp,
> dig, fs, groupinfo, host, iostat, etc. etc.
> So deleting *sbin from the PATH looks rather stupid.

If your interested in understanding the reasoning please check this old
discussion[1], with the relevant information from the FHS.  It's by no
means stupid.  Arguable maybe, not stupid.

> Hell, deleting *sbin from the PATH breaks sudo(8) on top of that.
> Users can't even do things like "sudo halt" any longer if
> they dont have *sbin in their PATH.

sudo lives in /usr/bin!!  So this has nothing to do with it.  Please
check your assertions.

> So no, a PATH not containing /sbin is never sane, and i don't think
> we need to care about it (it is well known that a default Debian
> system usually requires some manual reconfiguration before it
> becomes usable).  Maybe the documentation should mention
> that running ddclient(8) requires a sane PATH giving access to
> common utilities (including ifconfig(8)).

I think I'd rather go back to ddclient, your knowledge or assumptions on
(Continue reading)

Eduardo Trápani | 12 Sep 15:18
Picon

Re: Support for IPv6 (patch)

>> I wrote a little patch for 3.8.1 to support IPv6 on the two services
>> I know that can handle it.
> 
> I'm not sure i understand.
> 
> DynDNS for IPv6 sounds like a terrible misconcept, a contradiction
> all in itself.

I'm using a teredo client (transition technology) so I get an dynamic
IPv6 over an IPv4 tunnel, I'd like to be able to access it.  I need a
name for that because doing:

ssh user@[2001:0000:4136:e378:8000:63bf:3fff:fdd2]

is not practical or, at least not so simple as:

ssh user@...

when you take into account that the host is miles aways from me, behind
a NAT router that changes its IPv4 address periodically.  I'm actually
(and happily) using a name for dynamic IPv6 right now.  So much for the
misconcept or contradiction.  IPv4 just would not work, or I would have
to setup a VPN for incoming connections ( and believe me it's a lot
easier to do apt-get install miredo, and that's it).

> I thought the whole point of IPv6 is to have enough addresses
> such that everybody can have their own, proper addresses?

We found the misconcept and inner contradiction.  There it is.  Routing
and latency should ring an alarm with that idea of yours, not to mention
(Continue reading)

Eduardo Trápani | 10 Sep 07:09
Picon

Support for IPv6 (patch)

Hi,

I wrote a little patch for 3.8.1 to support IPv6 on the two services I 
know that can handle it.  Both dyndns and freedns automatically 
recognize the type of address being passed to them and use it to update 
the A or the AAAA record.

I added the "usev6" variable, that works exactly as the "use" one.  So, 
if you are using dynds and change use/usev6 on your existing definition 
*and* you have a global IPv6 address you're all set.

For "usev6" only the "ip" and "if" strategies are implemented and the 
"if" one uses "ip -6 addr list" instead of "ifconfig" because I find it 
easier to parse and it doesn't need root privileges (Debian box).

So far the patch works for dyndns without problems, for an IPv6-only 
host (well, it does have IPv4 but its a private address, the IPv6 
address is public and comes from miredo/teredo).

Since the program hashes the hosts on the dynamic domain, it is not 
possible to update IPv4 and IPv6 on the same service with the same 
configuration file.  I'm not that fluent in perl so I guess it's better 
for the actual programmers to sort that one out.

Freedns forces you to have an IPv4 record that is used to build the 
update url.  The IPv6 update on that url works but the DNS servers can 
take a long time to notice it.  It's tricky.

I hope it helps somebody, it took me a while to figure it out.

(Continue reading)

Cary Lewis | 6 Sep 20:00
Picon

Is there a way to have ddclient force an update once a day?

Dyndns doesn't like spurious updates (indication of abuse of free
accounts), but if you don't update at least once a month, your account
gets suspended.

So I was wondering if there was a way to configure ddclient to do this.

I suppose I could set up a cron job that would stop the daemon once a
day, do a -force update, and then restart the daemon, but I was hoping
there was a way to do all of this with ddclient running as daemon.

Any thoughts?

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
Josu Lazkano | 20 May 21:10
Picon

Re: Log file

2011/5/20 Torsten Landschoff <t.landschoff@...>:
> On Fri, 2011-05-20 at 10:21 +0200, Josu Lazkano wrote:
>> Hello. I just installed ddclient on a Debian server and I want to know
>> if there a option to have a log file to check the daemon.
>
> There is the -syslog option (enabled by default on Debian) which uses
> the system log daemon to log information. The result is usually found
> in /var/log/daemon.log:
>
> root <at> pluto:/home/torsten# grep ddclient /var/log/daemon.log
> May 17 04:18:53 pluto ddclient[697]: SUCCESS:  updating XXXXXX.dyndns.org: good: IP address set to 123.28.190.18
> May 18 04:07:55 pluto ddclient[697]: SUCCESS:  updating XXXXXX.dyndns.org: good: IP address set to 123.18.50.23
> May 19 04:09:11 pluto ddclient[697]: SUCCESS:  updating XXXXXX.dyndns.org: good: IP address set to 123.18.80.46
>
> Good luck!
>
> Torsten
>
>
>

Thanks again, I check the /car/log/daemon.log and it is there!!!

May 19 20:10:27 htpc ddclient[1726]: WARNING:  cannot connect to
checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname
'checkip.dyndns.org'
May 19 20:16:07 htpc ddclient[1726]: WARNING:  cannot connect to
checkip.dyndns.org:80 socket: IO::Socket::INET: Bad hostname
'checkip.dyndns.org'
May 19 20:21:10 htpc ddclient[1726]: SUCCESS:  updating
(Continue reading)

wim vinckier | 20 May 20:08
Picon

Re: Unsubscribe

On Fri, May 20, 2011 at 5:15 PM, Steve Knapp <spknapp@...> wrote:
> Unsubscribe
>
>
>
> T.H. Huxley: "Try to learn something about everything and everything about
> something."
>
>
>
> Oscar Levant: "I envy people who drink. At least they have something to
> blame everything on."
>
>

See https://lists.sourceforge.net/lists/listinfo/ddclient-support on
how to unsubscribe the list.

wimpunk.

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
Josu Lazkano | 20 May 19:56
Picon

Re: Log file

Thanks for the reply, I want to check if the service is log in well on
the dyndns server.

Something on /var/log/ddclient.log

Best regards.

2011/5/20 wimpunk <wimpunk@...>:
> On Fri, 2011-05-20 at 10:21 +0200, Josu Lazkano wrote:
>> Hello. I just installed ddclient on a Debian server and I want to know
>> if there a option to have a log file to check the daemon.
>>
>> Thank and best regards.
>>
>
> What do you mean with a log file to check the daemon?  What part do you
> want to check?
>
> regards,
>
> wimpunk.
>
>
>

--

-- 
Josu Lazkano

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
(Continue reading)

Josu Lazkano | 20 May 10:21
Picon

Log file

Hello. I just installed ddclient on a Debian server and I want to know
if there a option to have a log file to check the daemon.

Thank and best regards.

--

-- 
Josu Lazkano

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
Josu Lazkano | 20 May 10:21
Picon

Log file

Hello. I just installed ddclient on a Debian server and I want to know
if there a option to have a log file to check the daemon.

Thank and best regards.

--

-- 
Josu Lazkano

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay

Gmane