]> Cypherpunks repositories - gostls13.git/commit
net: allow a dns TXT record to contain more than one <character-string>
authortnt <alkaloid.btx@gmail.com>
Thu, 16 Apr 2015 20:18:36 +0000 (22:18 +0200)
committerIan Lance Taylor <iant@golang.org>
Wed, 29 Apr 2015 21:48:48 +0000 (21:48 +0000)
commitbfb077e0eefd997454a5b5eeaea6305afc0bac32
tree1ee9c5ced3af004e57b36152ca551750bfbba83b
parentd12b532265603bdb2ce2fcb4bc3a53c03771d370
net: allow a dns TXT record to contain more than one <character-string>

RFC 1035 3.3.14 allows a TXT record to contain one or more <character-string>s.
The current implementation returns a "no such host" error if there is more
than one <character-string> in the TXT record.

Fixes #10482

Change-Id: I0ded258005e6b7ba45f687fecd10afa2b321bb77
Reviewed-on: https://go-review.googlesource.com/8966
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
src/net/dnsmsg.go
src/net/dnsmsg_test.go