Ethereal-dev: RE: [Ethereal-dev] Slow Windows name resolution : an idea

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Thu, 4 Jul 2002 14:41:30 +0100
getnameinfo is only supported on WinXP or later.  Probably not the OS of most users of Win Ethereal at this time.
 
Another option would be to create, or use an existing implementation of, an asynchronous resolver.
 
Graham
-----Original Message-----
From: ethereal-dev-admin@xxxxxxxxxxxx [mailto:ethereal-dev-admin@xxxxxxxxxxxx]On Behalf Of Marcel Cox
Sent: 04 July 2002 09:54
To: ethereal-dev@xxxxxxxxxxxx
Subject: [Ethereal-dev] Slow Windows name resolution : an idea

I'm always annoyed by the slow name resolution when using Ethreal on Windows machine, and the fact that this is a topic which appears again and again on the list shows that I'm not the only one.
If I understand the issue correctly, the slowless is due to Windows implementation of gethostbyaddr doing a NETBIOS name resolution when DNS name resolution fails.
I checked the Windosck2 API reference at Microsoft, and I found that there is an alternate name resultion function getnameinfo which does not do NETBIOS name resultion. So I wonder if it wouldn't be a possibility to use getnameinfo instead of gethostbyaddr on Windows platforms, or on any other platforms that provide getnameinfo and where gethostbyaddr has issues.
 
Marcel