π Feature: EDNS support
- Goal: For DNS efficiency Squid should include an EDNS OPT record (RFC2671) in itβs queries enabling large packets (MTU size) over UDP.
- Status: complete
- Version: 3.2
- Developer: AmosJeffries
- More: 2785
π Details
When the EDNS option is sent resolvers can send very large replies back over UDP instead of resorting to short lived TCP connections.
The 512 octets limit is fairly artificial today. Squid has very high limits on how much data the internal DNS resolver can actually receive. So Squid can easily advertise and handle very large packet sizes.
π Potential Problems
π Resolver support
Some resolvers have been identified which support EDNS on IPv6 address lookups (AAAA)) but which fail or reject requests with EDNS on IPv4 address lookups (A).
To resolve this Squid is currently hard-coded not to send EDNS hints on the IPv4 A lookups.
π Adaptive Jumbograms
The way EDNS works allows for Squid and its source DNS resolver(s) to automatically achieve the largest necessary packet sizes for communication.
Due to design issues within Squid we cannot (yet) make use of these hints to automate the packet sizing. Instead the configuration option dns_packet_max is needed to set the advertised packet size or disable EDNS entirely.
Categories: Feature
Navigation: Site Search, Site Pages, Categories, πΌ go up