Ethereal-dev: [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: "Marcel Cox" <cimetmc@xxxxxxxxxxxxx>
Date: Thu, 4 Jul 2002 10:54:16 +0200
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