-
Notifications
You must be signed in to change notification settings - Fork 18k
net: LookupMX behaviour broken [1.16 backport] #46999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I meant Go 1.16, not Go 1.17, clearly 🤦 nice that gopherbot still milestoned it correctly once I fixed the title. |
Change https://golang.org/cl/332371 mentions this issue: |
We've considered this in a release meeting. Approving as it is a serious issue without a workaround. This backport applies to both 1.16 (this issue) and 1.15 (#47012). |
Closed by merging a91ed83 to release-branch.go1.16. |
Bypass hostname validity checking when a null mx record is returned as, defined in RFC 7505. Updates #46979 Updates #46999 Change-Id: Ibe683bd6b47333a8ff30909fb2680ec8e10696ef Reviewed-on: https://go-review.googlesource.com/c/go/+/332094 Trust: Roland Shoemaker <[email protected]> Trust: Katie Hockman <[email protected]> Run-TryBot: Roland Shoemaker <[email protected]> TryBot-Result: Go Bot <[email protected]> Reviewed-by: Katie Hockman <[email protected]> (cherry picked from commit 03761ed) Reviewed-on: https://go-review.googlesource.com/c/go/+/332371 Run-TryBot: Katie Hockman <[email protected]>
Change https://golang.org/cl/333330 mentions this issue: |
…nstead of hard failing Instead of hard failing on a single bad record, filter the bad records and return anything valid. This only applies to the methods which can return multiple records, LookupMX, LookupNS, LookupSRV, and LookupAddr. When bad results are filtered out, also return an error, indicating that this filtering has happened. Updates #46241 Updates #46979 Fixes #46999 Change-Id: I6493e0002beaf89f5a9795333a93605abd30d171 Reviewed-on: https://go-review.googlesource.com/c/go/+/332549 Trust: Roland Shoemaker <[email protected]> Reviewed-by: Filippo Valsorda <[email protected]> (cherry picked from commit 296ddf2) Reviewed-on: https://go-review.googlesource.com/c/go/+/333330 Run-TryBot: Roland Shoemaker <[email protected]> TryBot-Result: Go Bot <[email protected]>
@FiloSottile requested issue #46979 to be considered for backport to the next 1.16 minor release.
The text was updated successfully, but these errors were encountered: