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


If I want to filter for DNS queues sent by my machine to ANY DNS server for what is the filter for that? Ive been searching google of 35 minutes. Why is that so hard to find :-/


asked 22 Sep '16, 07:43

Pete%20Long's gravatar image

Pete Long
accept rate: 0%

edited 22 Sep '16, 12:31

Guy%20Harris's gravatar image

Guy Harris ♦♦

The filter for that is == "".

If you take any DNS query packet you happen to find (use just dns as a display filter first), and click through the packet dissection down to the "Name" item inside the "Query", you can right-click the line with the name and choose the Apply as Filter -> Selected option. Then, you would change the name in the display filter field from the original one to "" which you really want.

Why is it hard - because the generic question is "how do I filter for field X of protocol Y" and there are hundreds of protocols with hundreds of fields each. So there is no chance to have a tutorial for each, so finding a packet of the protocol you want and localizing the field of interest inside it is the most efficient way.

permanent link

answered 22 Sep '16, 08:01

sindy's gravatar image

accept rate: 24%

Perfect, just what I needed



(22 Sep '16, 08:08) Pete Long
Your answer
toggle preview

Follow this question

By Email:

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 22 Sep '16, 07:43

question was seen: 62,546 times

last updated: 22 Sep '16, 12:31

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