• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: About that host name resolution slowness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About that host name resolution slowness


  • Subject: Re: About that host name resolution slowness
  • From: Joshua Graessley <email@hidden>
  • Date: Wed, 2 Jun 2004 09:09:16 -0700

If you're going to start bypassing the resolver, the next lower layer
would probably be res_query. You will have to parse the DNS response
yourself.

-josh

On Jun 2, 2004, at 8:46 AM, Stephane Sudre wrote:

> Stupid question: has something be made (new API, mechanism, etc...) in
> Panther to improve the speed and thread safety of gethostbyname()?
>
> I'm currently trying to play with a lot of DNS queries and I have
> currently followed this path:
>
> 1) NSHost: so slow for the test I'm doing that I may be retired when
> the test ends.
>
> 2) gethostbyname(): faster, but it still blocks (I'm not against
> blocking, I'm against "long" blocking) as stated in various locations
> and is still too slow IMHO.
>
> 3) My next step being to have a look at the source of "host" or "dig"
> to find which API is used.
> _______________________________________________
> macnetworkprog mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/macnetworkprog
> Do not post admin requests to the list. They will be ignored.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


References: 
 >About that host name resolution slowness (From: Stephane Sudre <email@hidden>)

  • Prev by Date: Re: Too many files open
  • Next by Date: Re: About that host name resolution slowness
  • Previous by thread: Re: About that host name resolution slowness
  • Next by thread: Problem using curl tool vs ftp tool for downloading
  • Index(es):
    • Date
    • Thread