Open GF-Huang opened 2 years ago
Sometime we don't need auto fallback in UDP query, just simple respond the Truncated response. Now, if we don't set the fallback, it will always throw an exception by NullRequestResolver.
Truncated
NullRequestResolver
https://github.com/kapetan/dns/blob/8094ac53131bfee743fc5d37bbdd6a54e94f8b1a/DNS/Client/RequestResolver/UdpRequestResolver.cs#L42-L44
https://github.com/kapetan/dns/blob/8094ac53131bfee743fc5d37bbdd6a54e94f8b1a/DNS/Client/RequestResolver/NullRequestResolver.cs#L6-L10
Sometime we don't need auto fallback in UDP query, just simple respond the
Truncated
response. Now, if we don't set the fallback, it will always throw an exception byNullRequestResolver
.https://github.com/kapetan/dns/blob/8094ac53131bfee743fc5d37bbdd6a54e94f8b1a/DNS/Client/RequestResolver/UdpRequestResolver.cs#L42-L44
https://github.com/kapetan/dns/blob/8094ac53131bfee743fc5d37bbdd6a54e94f8b1a/DNS/Client/RequestResolver/NullRequestResolver.cs#L6-L10