Ethereal-users: RE: [Ethereal-users] IP address resolution using /etc/hosts

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

From: "Francisco Alcoba (ML/EEM)" <francisco.alcoba@xxxxxxxxxxxx>
Date: Thu, 9 Sep 2004 16:29:52 +0200
> I have one issue in that I can not get it to resolve the IP address in
> my capture. It shows them as the native IP address. (192.168.1.90 etc,
> not as Fred).
> 
> I have added entries into my etc/hosts table, which works as 
> I can ping
> using the name (ie ping fred) and it works. TCPDUMP also seems to
> happily resolve the IP address from etc/hosts.
> 
> I also tried to configure the MAC address into etc/ethers. This also
> did not seem to assist in the address resolving.
> 
> So my question is. How can I resolve IP address in Ethereal without
> using a DNS?


Hi,

It should work by deactivating concurrent DNS resolution in Edit -> Preferences -> Name resolution. If you have this enabled it only uses DNS, but if it is not it will use also the hosts file. The problem here is that if you have improperly configured DNS resolution -e.g. you have configured a DNS which doesn't answer, or which tries to solve reverse mappings improperly- you will experience the DNS timeouts in the form of slow response in ethereal.

Regards,

  Francisco