<html><body><span style="display:block;" class="xfm_54499489"><div>
<div><span style="font-family:Arial;font-size:12pt;line-height:14pt;">Hi Simon,</span></div>
<div><span style="font-family:Arial;font-size:12pt;line-height:14pt;"><br data-mce-bogus="1"/></span></div>
<div><span style="font-family:Arial;font-size:12pt;line-height:14pt;">I would like to propose an optional --no-auto-edns setting for compatibility with upstream DNS servers or intervening network devices which fail to handle queries carrying EDNS0.</span></div>
<div><span style="font-family:Arial;font-size:12pt;line-height:14pt;">Since dnsmasq 2.91, a plain upstream UDP query is automatically given an OPT record. Reducing --edns-packet-max still leaves that record present; this proposal allows administrators to suppress its automatic creation.</span></div>
<div><span style="font-family:Arial;font-size:12pt;line-height:14pt;">The attached patch changes only that default insertion step when the option is enabled. Existing OPT records are retained, including those supplied by clients or created by configured EDNS features or DNSSEC. The usual UDP-size adjustment still applies to an existing record. Default behaviour and TCP forwarding are unchanged. The patch includes help text and a manual entry.</span></div>
<div><span style="font-family:Arial;font-size:12pt;line-height:14pt;">Base: upstream master a9880c595f052d63859d6ed8aa86a3a6b007bf20.</span><br/><span style="font-family:Arial;font-size:12pt;line-height:14pt;">The patch applies independently, without OpenWrt patches.</span></div>
<div><span style="font-family:Arial;font-size:12pt;line-height:14pt;">After rebasing, the default build, option/configuration checks and manual formatting were checked. Live upstream-query and DNSSEC protocol testing were not performed in this environment, so I am submitting this as an RFC.</span></div>
<div><span style="font-family:Arial;font-size:12pt;line-height:14pt;">I used AI assistance in preparing the change and its review. Would an opt-in compatibility setting with this scope be acceptable?</span></div>
<div><span style="font-family:Arial;font-size:12pt;line-height:14pt;">Best regards,</span><br/><span style="font-family:Arial;font-size:12pt;line-height:14pt;">Dmitry</span></div>
</div></span></body></html>