Wireshark DNS filter

The following are the common wireshark DNS filters which you can use for filtering DNS packets using wireshark. In this example, the DNS information for facebook.com is understood.

Wireshark DNS filter to display all DNS packets

If you want to display all DNS packets in the capture, you need to use the filter DNS in the capture.

Wireshark DNS query filter

If you want to display the wireshark DNS query and response to a specific website, you can use the filter dns.qry.name==websitename.

The below screenshot shows the DNS query and reponse to the website facebook.com

——————————————————————————————————————-
Learn and implement the different wireshark filters used by network administrators in our Ebook Wireshark tutorials for Network administrators – Click here to check details on Amazon

Check out our course Python Scapy Network Programming and Automation Course on Udemy

The course will teach you how to use Python with scapy to create custom network tools and scripts for various purposes like network testing, protocol testing, automation and more. The course explains with source code and examples of different types of network scripts and tools.