net/dns/{publicdns,resolver}: add start of Control D support
Updates #7946 [@bradfitz fixed up version of #8417] Change-Id: I1dbf6fa8d525b25c0d7ad5c559a7f937c3cd142a Signed-off-by: alexelisenko <39712468+alexelisenko@users.noreply.github.com> Signed-off-by: Alex Paguis <alex@windscribe.com>
This commit is contained in:

committed by
Brad Fitzpatrick

parent
aa084a29c6
commit
fe22032fb3
@ -101,6 +101,16 @@ func TestResolversWithDelays(t *testing.T) {
|
||||
in: q("https://dns.nextdns.io/c3a884"),
|
||||
want: o("https://dns.nextdns.io/c3a884"),
|
||||
},
|
||||
{
|
||||
name: "controld-ipv6-expand",
|
||||
in: q("2606:1a40:0:6:7b5b:5949:35ad:0"),
|
||||
want: o("https://dns.controld.com/hyq3ipr2ct"),
|
||||
},
|
||||
{
|
||||
name: "controld-doh-input",
|
||||
in: q("https://dns.controld.com/hyq3ipr2ct"),
|
||||
want: o("https://dns.controld.com/hyq3ipr2ct"),
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
Reference in New Issue
Block a user