<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 9, 2015 at 10:58 PM, Mark Andrews <span dir="ltr"><<a href="mailto:marka@isc.org" target="_blank">marka@isc.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
<br>
In message <<a href="mailto:CAGmQtQJrpx_XG_OJTShsW5YqAeFKZwdMa16XW7iry9PR0_FT%2BA@mail.gmail.com">CAGmQtQJrpx_XG_OJTShsW5YqAeFKZwdMa16XW7iry9PR0_FT+A@mail.gmail.com</a>><br>
<span class="">, Yunhong Gu writes:<br>
><br>
> Returning NOTIMP may confuse resolvers as it is not clear "what is not<br>
> implemented".<br>
<br>
</span>Which is why you only change one thing at a time when trying to<br>
determine what is covered by NOTIMP.<br>
<span class=""><br>
> A NOTIMP response to an ANY query with EDNS0 option could<br>
> cause a retry-without-EDNS0 query, or mislead the resolver to believe that<br>
> the nameserver does not support EDNS0.<br>
<br>
</span>And if you retry w/o a OPT record you will still get NOTIMP, move<br>
onto the next nameserver and enventually return SERVFAIL.<br></blockquote><div><br></div><div>Retry introduces latency, which matters a lot for resolvers. There are situations a resolver may not want to enumerate all possibilities (e.g. the client may already timeout before the resolver get the final response).</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Note there really is nothing special w.r.t. ANY here.  We have<br>
nameservers that return NOTIMP to TXT, MX, NS, SOA, DNSKEY etc.<br>
About the only query type that doesn't get NOTIMP is A.<br></blockquote><div><br></div><div>ANY is indeed a little special compared to the examples you mentioned. If a nameserver returns response for A, then it should return NODATA instead of NOTIMP for TXT, MX, etc. Returning NODATA for ANY is a little confusing, though it can be argued to be legitimate if only cached records are returned. </div><div><br></div><div>So the problem is, why NOTIMP? REFUSED sounds like a better choice. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
Mark<br>
<br>
--<br>
Mark Andrews, ISC<br>
1 Seymour St., Dundas Valley, NSW 2117, Australia<br>
PHONE: <a href="tel:%2B61%202%209871%204742" value="+61298714742">+61 2 9871 4742</a>                 INTERNET: <a href="mailto:marka@isc.org">marka@isc.org</a><br>
</font></span></blockquote></div><br></div></div>