This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Hi. I'm running 1.12.5 on WIN7. I'd like to use the Wireshark Preference Only use the profile "hosts" file. In the About Wireshark dialog box, my Personal configuration folder is set to C:\users(my id)\AppData\Roaming\Wireshark\. Inside that folder, I have a "hosts" file in the standard format. My Name Resolution preferences are:

  • Resolve network (IP) addresses: enabled
  • Use an external network name resolver: disabled
  • Only use the profile "hosts" file: enabled

I have restarted Wireshark multiple times, obviously, but I can't get Wireshark to read the hosts file. What am I missing?

asked 18 Sep '15, 06:39

smp's gravatar image

smp
394510
accept rate: 0%

edited 20 Jul '16, 15:48

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142


Check your profile. If you're not using the default profile, you'll need to copy the hosts file to the relevant profile directory.

permanent link

answered 18 Sep '15, 14:01

cmaynard's gravatar image

cmaynard ♦♦
9.4k1038142
accept rate: 20%

Bingo! Thanks!!!

Did I miss that detail in the documentation somewhere, or is the assumption that people will figure it out?

(18 Sep '15, 14:37) smp

Since my comment turned out to be the answer that resolved your question, I converted it to an answer.

I thing the documentation could be improved to make it more clear that certain files operate on a per-profile basis. After quickly scanning the user guide and man page, I don't think it's very obvious that this file works in this manner.

(18 Sep '15, 14:43) cmaynard ♦♦

Thanks for the answer. Sorry I wasn't able to get back in time to accept it myself.

(19 Sep '15, 07:41) smp
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×22
×8

question asked: 18 Sep '15, 06:39

question was seen: 3,590 times

last updated: 20 Jul '16, 15:48

p​o​w​e​r​e​d by O​S​Q​A