Cannot use free resolver IDs for ControlD DoH
What is the issue?
Using the string p2 for a ControlD resolver like https://controld.com/free-dns?freeResolverType=blockMalwareAndAds&helpPane=dns does not work as the text box requires a longer string.
Steps to reproduce
- Go to https://login.tailscale.com/admin/dns
- Click Add nameserver -> Control D
- Enter
p2
Observe that the OK button in dialog is disabled.
Are there any recent changes that introduced the issue?
No response
OS
No response
OS version
No response
Tailscale version
No response
Other software
No response
Bug report
No response
cc @KevinLiang10
Of that note, I tried entering p2.freedns and the save button gets out of the greyed-out state, but upon clicking it, it fails with an error: Please provide a Control D configuration.
I came across this issue when trying to use the x-oisd public Control D resolver ID
looks like there is a minimum requirement of 6 characters for a resolver (which doesn't make sense)
I also first tried p2 and had the same issue. I then tried a custom resolver (free-tier) value of: no-ads-malware-typo
This also didn't work. Offhand it seems it only supports custom resolvers under premium controld plans. Was this intentional?
A year later and still no progress on this. Wow. Just wow. This won't get fixed, seems they did this deliberately to prevent us from using anything else.
By manually adding the IPv4 addresses of the Control D malware DNS the Tailscale clients will automatically use the DOH address specified here https://github.com/tailscale/tailscale/blob/8eda947530cebbe3dc7882ace4d9f2829b0448da/net/dns/publicdns/publicdns.go#L261-L263
Reference https://github.com/tailscale/tailscale/issues/10686#issuecomment-1962001100
I've also created a pull request which'll add all of the third party filters provided by Control D https://github.com/tailscale/tailscale/pull/18128