weird wget/curl problems
David Bandel
david.bandel
Fri Aug 11 19:17:15 PDT 2006
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?
Odd there's no body. The "updated" is wrapped in <body></body> tags?
Is the header the same?
David A. Bandel
--
Focus on the dream, not the competition.
- Nemesis Air Racing Team motto
More information about the Linux-users
mailing list