Tuesday, August 6, 2013

Slow DNS Query (Event 5501:The DNS server encountered a bad packet from *.*.*.* Packet processing leads beyond packet length. The event data contains the DNS packet.)

I received complaint from one of my customer stating that there were slow DNS query with the new domain controller Windows Server 2012 deployed recently. Upon checking the event viewer I found that event ID 5501 was log:

The DNS server encountered a bad packet from *.*.*.* Packet processing leads beyond packet length. The event data contains the DNS packet.


Resolution:

Open CMD (run as administrator), type below command and hit enter:

dnscmd /config /enableednsprobes 0

After restating the DNS service, the DNS query works like a champ.