Keep OPT out of the record cache
05OPT describes one DNS message and is not cacheable resource data.
If EDNS is required, stop rather than silently downgrade.
Key idea: The OPT record must not be cached.
Rules & examples
The OPT record must not be cached.
- The OPT record must not be cached.
- Fallback without EDNS may be possible, but not if required functionality such as DNSSEC would be lost.
The drawing is a simplified worked example. Follow the linked RFC and its updates for implementation requirements.
Sources
New to this? Start hereA quick picture + helpful background
A message needs an address.
Think of a packet as a small addressed envelope. Devices pass it onward; transport protocols decide what delivery promises an application gets.
Helpful first, if these ideas are unfamiliar
These pictures are analogies to help you learn. The linked RFC explains the actual rules.
Related RFCs and changes
“Updates” changes part of an earlier RFC. “Obsoletes” replaces it. This list shows selected related documents.
This revision makes OPT support mandatory for compliant implementations and discourages extended label types as a general solution.
Read the updated RFC section ↗