tailscale/net/dns/resolver
Maisem Ali 80157f3f37 net/dns/resolver: add support for <IPv4>.via-<site-id>
Currently we only support "via-<site-id>.<IPv4>", however that does not
work with Google Chrome which parses `http://via-1.10.0.0.1` as a search
string and not as a URL. This commit introduces "<IPv4>.via-<site-id>"
(`http://10.0.0.1.via-1`) which is parsed correctly by Chrome.

Updates #3616

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2022-06-02 23:20:37 +05:00
..
debug.go net/dns/resolver: add debug HTML handler to see what DNS traffic was forwarded 2021-12-21 14:32:36 -08:00
doh_test.go net/dns: schedule DoH upgrade explicitly, fix Resolver.Addr confusion 2022-04-19 12:00:22 -07:00
forwarder_test.go tailcfg,all: change structs to []*dnstype.Resolver 2022-05-06 10:58:10 -07:00
forwarder.go tailcfg,all: change structs to []*dnstype.Resolver 2022-05-06 10:58:10 -07:00
macios_ext.go all: simplify ts_macext build tags 2021-08-17 11:13:03 -07:00
tsdns_server_test.go all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
tsdns_test.go net/dns/resolver: add support for <IPv4>.via-<site-id> 2022-06-02 23:20:37 +05:00
tsdns.go net/dns/resolver: add support for <IPv4>.via-<site-id> 2022-06-02 23:20:37 +05:00