]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.16] net: don't reject null mx records
authorRoland Shoemaker <roland@golang.org>
Wed, 30 Jun 2021 21:28:18 +0000 (14:28 -0700)
committerRoland Shoemaker <roland@golang.org>
Thu, 8 Jul 2021 16:27:19 +0000 (16:27 +0000)
commita91ed836c53fcd64697b07659a8930c0a7140759
tree15a261ecfb293b9d98204ce49436d22d0ece6185
parentcb4cd9e17753b5cd8ee4cd5b1f23d46241b485f1
[release-branch.go1.16] net: don't reject null mx records

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 <roland@golang.org>
Trust: Katie Hockman <katie@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Katie Hockman <katie@golang.org>
(cherry picked from commit 03761ede028d811dd7d7cf8a2690d4bfa2771d85)
Reviewed-on: https://go-review.googlesource.com/c/go/+/332371
Run-TryBot: Katie Hockman <katie@golang.org>
src/net/dnsclient_unix_test.go
src/net/lookup.go