EDNS0 Support
-
My DC (MS W2K8R2) which is running DNS is throwing a lot of 5501 events.
The DNS server encountered a bad packet from 96.7.49.193. Packet processing leads beyond packet length. The event data contains the DNS packet.
The MS KB says this is the problem with the router (pfsense):
_This issue occurs because of the Extension Mechanisms for DNS (EDNS0) functionality that is supported in Windows Server 2003 DNS.
EDNS0 permits the use of larger User Datagram Protocol (UDP) packet sizes. However, some firewall programs may not permit UDP packets that are larger than 512 bytes. As a result, these DNS packets may be blocked by the firewall._
http://support.microsoft.com/kb/832223
Any idea on how to investigate on the router?
Thank you fine folks!
-
We don't discriminate on packet sizes of any UDP or DNS. By "some firewall programs", what they're specifically referring to there is the old Cisco PIX/ASA default limit of 512 bytes on DNS requests. Almost every PIX config we see has that broken so it's undoubtedly caused numerous issues along those lines. If you're using the DNS forwarder, we default to dnsmasq's default of 4096 for –edns-packet-max, the recommended value per RFC 5625. If your Windows server does its own recursive lookups, there is no limit induced by the firewall.