Check DNS and DHCP Problems With Wireshark

Name resolution and address assignment fail quietly. A user sees “the network is slow” or “the server cannot be found”, while the cause is a DNS server that does not answer or a DHCP exchange that never completes. Both are visible in a short capture.
DNS: find the failed names
Capture while the user repeats the action, then filter:
dns
To see only errors, use:
dns.flags.rcode != 0
Look at the names that fail. If all internal names fail, the DNS server or the client’s DNS setting is the cause. If only one external name fails, check the forwarder and the public name.
DNS: find the missing answer
A query with no response is a sign that the DNS server is not reachable or is overloaded. Compare the time of the query with the time of any answer. Long gaps point to the server, not to the client.
DHCP: watch the four messages
A normal lease starts with four messages: Discover, Offer, Request and Acknowledge. Filter with:
dhcp
If a client sends Discover and never gets an Offer, no DHCP server answered on that network. If it gets an Offer and then sends a Request without an Acknowledge, the server refused or the request was lost.
DHCP: check for a rogue server
Two servers answering Discover with different addresses is a common cause of intermittent faults. Look at the source addresses of the Offers. Each DHCP server should be a known address in your inventory.
Record the findings
Note the name that failed, the server it was sent to, the error code and the time. That detail is enough for the DNS or DHCP team to find the cause in the server log.