• Ian Gudger's avatar
    net: fail fast for DNS rcode success with no answers of requested type · 94f48ddb
    Ian Gudger authored
    DNS responses which do not contain answers of the requested type return
    errNoSuchHost, the same error as rcode name error. Prior to
    golang.org/cl/37879, both cases resulted in no additional name servers
    being consulted for the question. That CL changed the behavior for both
    cases. Issue #25336 was filed about the rcode name error case and
    golang.org/cl/113815 fixed it. This CL fixes the no answers of requested
    type case as well.
    
    Fixes #27525
    
    Change-Id: I52fadedcd195f16adf62646b76bea2ab3b15d117
    Reviewed-on: https://go-review.googlesource.com/133675
    Run-TryBot: Ian Gudger <igudger@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    94f48ddb
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...