lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lynx-dev] "Alert!: Unable to connect to remote host."


From: Thorsten Glaser
Subject: Re: [Lynx-dev] "Alert!: Unable to connect to remote host."
Date: Wed, 6 Dec 2006 12:49:12 +0000 (UTC)

David Woolley dixit:

>> I guess we should be looking that up in the RFCs, and then
>> possibly file a bug against the BSD libcs' resolvers, and
>
>Underscores in domain names *are* illegal.  They are a Windowsism.

Ah, okay. Good to know, in this case. I admit I haven't
really read about that, because I mostly use 4-char hostnames
for my own machines ;)

>Given that Windowsisms become the de facto law, and the
>be tolerant in what you accept rule for the internet, this standards
>violation probably ought to be tolerated by client software.

Probably. But that'd be up to the OS developers, in
this case. I guess I'll have a look at our libc resolver,
but you'd better contact the BSD of your choice yourself.

>But if this is true, then why can't I substitue the numerical IP
>for the site name, i.e., "http://209.202.226.100/id4.html";?  This allows
>Lynx to connect, but to the wrong page: "Tripod | Error".

Like already said, it's the missing "Host:" header. (Note
I think adding it to /etc/hosts won't work in this case,
because it's a (supposedly) illegal domain name.)

>> address@hidden:~ $ dnsip running_on_alcohol.tripod.com
>> 209.202.226.100
>> 
>> I guess we should be looking that up in the RFCs, and then
>> possibly file a bug against the BSD libcs' resolvers, and
>> maybe check with the BIND people (at least for BIND 4, which
>
>Thinking about it, I'm using my provider's name servers.  I thought
>Windows was too.  The unix host has BIND 9.3.0 installed, but the
>daemon is not running (only /etc/hosts and /etc/resolv.conf files).

Sure, but what piece of code do you think is contacting your
provider's name servers? Of course the resolver in libc,
unless you linked the application against BIND's or djbdns'
resolver (the latter not possible without code changes).

>Anyway, Lynx is in good shape.  (Now I know why it's good to have a
>port to Windows.)

;)

bye,
//mirabile
-- 
  "Using Lynx is like wearing a really good pair of shades: cuts out
   the glare and harmful UV (ultra-vanity), and you feel so-o-o COOL."
                                         -- Henry Nelson, March 1999




reply via email to

[Prev in Thread] Current Thread [Next in Thread]