weird wget/curl problems

Net Llama! netllama
Fri Aug 11 19:54:19 PDT 2006


On Fri, 11 Aug 2006, David Bandel wrote:
> On 8/11/06, Net Llama! <netllama at linux-sxs.org> wrote:
>> 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?
>>
>
> I assume you're using the same wget/curl script by hand?

Correct.

>
> Odd there's no body.  The "updated" is wrapped in <body></body> tags?
> Is the header the same?

The 'updated' appears exactly as I posted it, without any HTML around it.

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



More information about the Linux-users mailing list