weird wget/curl problems

Net Llama! netllama
Fri Aug 11 18:36:17 PDT 2006


I use freedns.afraid.org for providing a static domain name for the 
dynamic IP of my home DSL connection.  I've had this bizarre problem for a 
few weeks now, where hitting the URL which updates the IP assigned to my 
domain name fails with both wget & curl when run from a cronjob.  Yet, if 
I run it again manually, it works.

When it fails, their server returns this:
<HTML><HEAD><META HTTP-EQUIV="Refresh" CONTENT="0.1;
URL=/dynamic/update.php?UXdrdUswWlVoierg03jhgw0E=">
<META HTTP-EQUIV="Pragma" CONTENT="no cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
</HEAD></HTML>

However, when it works, I see:
Updated 1 host(s) netllama.eth0.ws to 71.131.59.15 in 0.520 seconds

I can't figure out why its doing this at all.  Anyone have any ideas why 
wget & curl wouldn't work via a cronjob?

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman                        netllama at linux-sxs.org
LlamaLand				http://netllama.linux-sxs.org



More information about the Linux-users mailing list