diff --git a/doc/go1.20.html b/doc/go1.20.html index b9f2f63b15577..1cbc9930877b7 100644 --- a/doc/go1.20.html +++ b/doc/go1.20.html @@ -547,35 +547,42 @@
- TODO: https://go.dev/issue/50101: make LookupCNAME consistent between Unix and Windows, document
+ The LookupCNAME
function now consistently returns the contents
+ of a CNAME
record when one exists. Previously on Unix systems and
+ when using the pure Go resolver, LookupCNAME
would return an error
+ if a CNAME
record referred to a name that with no A
,
+ AAAA, or CNAME
record. This change modifies
+ LookupCNAME
to match the previous behavior on Windows,
+ allowing allowing LookupCNAME
to succeed whenever a
+ CNAME
exists.
- TODO: https://go.dev/issue/53482: add FlagRunning to the Flags of struct Interface, to exactly reflect the states of an interface or NIC
+ Interface.Flags
now includes the new flag FlagRunning
,
+ indicating an operationally active interface. An interface which is administratively
+ configured but not active (for example, because the network cable is not connected)
+ will have FlagUp
set but not FlagRunning
.
- TODO: https://go.dev/issue/55301: Add ControlContext to Dialer -
- -
- TODO: https://go.dev/cl/413454: net: add FlagRunning to exactly reflect the states of an interface.; modified api/next/53482.txt
+ The new Dialer.ControlContext
field contains a callback function
+ similar to the existing Dialer.Control
hook, that additionally
+ accepts the dial context as a parameter.
+ Control
is ignored when ControlContext
is not nil.
- TODO: https://go.dev/cl/428955: net: set AD bit in DNS queries when trust-ad in resolv.conf -
- -- TODO: https://go.dev/cl/444955: net: add ControlContext to Dialer; modified api/next/55301.txt -
- -
- TODO: https://go.dev/cl/446179: net: unify CNAME handling across ports
+ The Go DNS resolver recognizes the trust-ad
resolver option.
+ When options trust-ad
is set in resolv.conf
,
+ the Go resolver will set the AD bit in DNS queries. The resolver does not
+ make use of the AD bit in responses.
- TODO: https://go.dev/cl/448075: net: auto-reload the /etc/nsswitch.conf on unix systems
+ DNS resolution will detect changes to /etc/nsswitch.conf
+ and reload the file when it changes. Checks are made at most once every
+ five seconds, matching the previous handling of /etc/hosts
+ and /etc/resolv.conf
.