Re: [NSHost currenthost] slooooooooooow
Re: [NSHost currenthost] slooooooooooow
- Subject: Re: [NSHost currenthost] slooooooooooow
- From: Henk Kampman <email@hidden>
- Date: Fri, 17 Dec 2004 16:02:30 +0100
On 17-dec-04, at 14:22, j o a r wrote:
On 2004-12-17, at 14.06, Henk Kampman wrote:
First, I have reports from more than one location, the only common
factor is the 10.3.7 update.
I'm not saying that it is not a problem - only that I think that the
problem is DNS lookup related, and related to your LAN (hostname of
your machine, IP-addresses and DNS servers on LAN (if any), et.c.).
I've installed 10.3.7 (clean install) on a test machine and I can
fully reproduce the problem!
Its definitely not a DNS server problem, Safari Firefox and Network
Utility have no problems resolving names.
But the difference here is that what you have problem with is
resolving the hostname of your machine (or something similar), and
that's not what your web browsers typically do...
However Apple Mail takes more than a minute to launch on that machine!
According to Sampler, Mail also hangs for more than a minute in
[NSHost currenthost], after that Mail seems to work fine.
We can't reproduce that here, but we have "real" DNS server supported
host names for all machines on our LAN - with reverse lookup.
j o a r
It seems that 10.3.7 doesn't understand the reply the DNS server is
sending...
[NSHost currenthost] is requesting a reverse lookup for: C QUERY
NAME=21.1.168.192.in-addr.arpa
As expected the DNS server responds with: R QUERY STATUS=name
Err...=21.1.168.192.in-addr.arpa
This goes on for more than a minute before [NSHost currenthost] finally
gives up.
Henk
Second Move
Jannevroukamp 25
3848 DB Harderwijk
the Netherlands
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden