Ethereal-dev: RE: [Ethereal-dev] Local dns support for NSIP

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

From: "Susanne Edlund (LI/EAB)" <susanne.edlund@xxxxxxxxxxxx>
Date: Fri, 14 Jan 2005 10:21:35 +0100
> Can you add a description of this feature that Guy checked in to the wiki?

I think Guy and Ulf have described it very well, so I will just summarize it:

The feature provides support for a "local dns" for a text file, in which each line consists of an ip address and its translation. The translation is shown in the src and dst columns. If no translation is available the ip address is shown.

The dns file is called hosts and is located in ~/.ethereal/hosts on UN*X and in "hosts" in the 
Ethereal personal configuration directory on Windows, e.g. C:\Documents and Settings\<user>\Application Data\Ethereal.

Ethereal will read in the hosts file at program start if it is located at the places mentioned above and will add the entries to it's internal address resolution table(s).

The format is like the usual hosts file used on unix systems, an example might look like this:

# Comments must be prepended by the # sign!
192.168.0.1 homeserver

Note that both IPv4 and IPv6 addresses are supported.

Example of an IPv6 address: 2001:200::8002:203:47ff:fea5:3085

/Susanne