Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Wireshark hosts file location

From: Sake Blok | SYN-bit <sake.blok@xxxxxxxxxx>
Date: Tue, 2 Apr 2019 10:44:04 +0200
> On 21 Mar 2019 (Thu), at 10:16, Jasper Bongertz <jasper@xxxxxxxxxxxxxx> wrote:
> I just saw this: https://ask.wireshark.org/question/8014/hosts-file-manager/
> 
> My first impulse was "put the hosts in a profile directory and switch it via profiles", but when I tested that it didn't work (no names resolved). I'm not sure if the hosts file is even read when it's in a profile directory, or where exactly Wireshark expects a hosts file. Do you know if that's supposed to work?

Strange, in Wireshark -2.6.7 on my Mac, I do get resolved names from the "hosts" file in my configuration profile (after turning on Network layer name resolution). Which is how I expect it to work, just like you :-)

Cheers,
Sake