]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.19: mention use of EDNS(0)
authorIan Lance Taylor <iant@golang.org>
Thu, 3 Mar 2022 04:16:55 +0000 (20:16 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 4 Mar 2022 18:50:03 +0000 (18:50 +0000)
For #51153

Change-Id: I4374c63498b62ba7a08f146eebd034cbd50623f6
Reviewed-on: https://go-review.googlesource.com/c/go/+/389634
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
doc/go1.19.html

index a68c27ecc843c060e2c4406c92576707b143f163..c71d5e760b4c45880962e701b1bebef1d8923210 100644 (file)
@@ -59,3 +59,18 @@ Do not send CLs removing the interior tags from such phrases.
 <p>
   TODO: complete this section
 </p>
+<dl id="net"><dt><a href="/pkg/net/">net</a></dt>
+  <dd>
+    <p><!-- CL 386016 -->
+      The pure Go resolver will now use EDNS(0) to include a suggested
+      maximum reply packet length, permitting reply packets to contain
+      up to 1232 bytes (the previous maximum was 512).
+      In the unlikely event that this causes problems with a local DNS
+      resolver, setting the environment variable
+      <code>GODEBUG=netdns=cgo</code> to use the cgo-based resolver
+      should work.
+      Please report any such problems on <a href="/issue/new">the
+      issue tracker</a>.
+    </p>
+  </dd>
+</dl>