tailscale/wgengine/tsdns
Dmytro Shynkevych 6c71e5b851
tsdns: copy name when loewrcasing.
The previous approach modifies name in-place in the request slice to avoid an allocation.
This is incorrect: the question section of a DNS request
must be copied verbatim, without any such modification.
Software may rely on it (we rely on other resolvers doing it it in tsdns/forwarder).

Signed-off-by: Dmytro Shynkevych <dmytro@tailscale.com>
2020-08-20 19:02:23 -04:00
..
forwarder.go tsdns: delegate requests asynchronously (#687) 2020-08-19 15:39:25 -04:00
map_test.go tsdns: implement reverse DNS lookups, canonicalize names everywhere. (#640) 2020-08-06 14:25:28 -04:00
map.go tsdns: implement reverse DNS lookups, canonicalize names everywhere. (#640) 2020-08-06 14:25:28 -04:00
tsdns_server_test.go wgengine/tsdns: local DNS server for testing 2020-07-10 14:56:59 -04:00
tsdns_test.go tsdns: copy name when loewrcasing. 2020-08-20 19:02:23 -04:00
tsdns.go tsdns: copy name when loewrcasing. 2020-08-20 19:02:23 -04:00