diff options
| author | Ian Lance Taylor <iant@golang.org> | 2025-02-20 12:12:35 -0800 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2025-02-24 15:01:37 -0800 |
| commit | f77bba43aa223fc86fd223f3ea4ef60db8e0c583 (patch) | |
| tree | 8ed65ddb2819ce021fed884385a31a466f24af45 /doc/next/6-stdlib | |
| parent | dceee2e983f5dab65c3905ecf40e70e15cf41b7d (diff) | |
| download | go-f77bba43aa223fc86fd223f3ea4ef60db8e0c583.tar.xz | |
net: accept a valid IP address in LookupMX
Fixes #56025
Change-Id: I202fdd0e11afeb22c5bc22d91fe4bfea8987e727
Reviewed-on: https://go-review.googlesource.com/c/go/+/651056
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'doc/next/6-stdlib')
| -rw-r--r-- | doc/next/6-stdlib/99-minor/net/56025.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/next/6-stdlib/99-minor/net/56025.md b/doc/next/6-stdlib/99-minor/net/56025.md new file mode 100644 index 0000000000..3d1af6c2b6 --- /dev/null +++ b/doc/next/6-stdlib/99-minor/net/56025.md @@ -0,0 +1,5 @@ +[LookupMX] and [(*Resolver).LookupMX] now return DNS names that look +like valid IP address, as well as valid domain names. +Previously if a name server returned an IP address as a DNS name, +LookupMX would discard it, as required by the RFCs. +However, name servers in practice do sometimes return IP addresses. |
