问题原文
原帖链接 · Kaushal Deodhar · CC BY-SA 3.0
I queried for www.domaindoesenotexist.com. Will my DNS resolver query the next .com gTLD server if it receives rcode of NXDomain of Servfail from the first?
已采纳解答
原帖链接 · Andrew B · CC BY-SA 3.0
This answer assumes that we're discussing a recursive DNS server. (not a stub resolver)
In the case of
NXDOMAIN, the next server is not tried.Womble is correct, there is no need to continue polling DNS servers.
That said, it should be noted that recursive server will see additional lookups from stub resolvers that implement DNS search suffixes. Search suffixes make it necessary to secure a
NXDOMAINfor every possible permutation of the query and the configured suffixes. This is different from the usual case, where the stub resolver is typically "dumb" and does not make additional queries based on the answer.In the case of
SERVFAIL, the next server is attempted.
https://www.rfc-editor.org/rfc/rfc1034#section-5.3.3
d. if the response shows a servers failure or other
bizarre contents, delete the server from the SLIST and
go back to step 3.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
