Re: http library

From: Michael Schlenker (schlenk_at_uni-oldenburg.de)
Date: 05/05/04


Date: Wed, 05 May 2004 20:03:38 +0200

Googie wrote:

> Michael Schlenker wrote:
>
>
>>(...) the only two things that can block there are name
>>resolution of the target host and the initial opening of the socket.
>>So if those run smooth the http request behaves well regarding the event
>>loop.
>>
>>Michael
>
>
> Exactly. Name resolution blocks it. This is the main problem :/ Is there any
> way to ommit it?
>
You could use the tcllib dns package to do async dns lookups. If your
setup is sane and you have a caching dns server, you could do the following:

1. use tcllib dns client to seed the upstream dns cache, if it fails the
query will probably fail too
2. use the usual http call and get the cached name from your dns server

An other approach might be to use the async dns lookup and than use
numerical ips in your query.

Michael



Relevant Pages

  • Re: Need help with a DNS problem
    ... > Recently the DNS problems I described have come back... ... your ISP's DNS server. ... Your message states that "dig will give me an answer ..." ... If that also fails, the trouble is probably with your FC2; ...
    (Fedora)
  • Re: Query ACL
    ... >> can machines outside a AD domian query the AD ... >MS DNS. ... >Determines whether the DNS server reorders A resource ... >Manage the discretionary access control list on ...
    (microsoft.public.win2000.dns)
  • Re: DNS name does not exist
    ... Check the DNS registration for DCs entries on DNS server '192.168.40.18' ... 0x0000251D Query for DC DNS entry _ldap._tcp.care4go.nl. ...
    (microsoft.public.win2000.dns)
  • Re: Win2K DNS
    ... Subject: Win2K DNS ... -> You send query to your DNS server. ... DNS server can answer that. ... received from trusted hosts. ...
    (Focus-Microsoft)
  • Re: Root hints with Forwarders?
    ... When configured with a forwarder, the DNS server will perform a recursive query; that is, it will forward the query to the forwarder then sit back and wait for the response. ...
    (microsoft.public.windows.server.dns)