I have a 4G router which doesn’t allow me to configure my preferred DNS servers and would like to configure encrypted DNS also on SailfishOS.
- Android has Settings → Internet → Advanced → Private DNS where a hostname for DNS over TLS can be entered. It defaults to automatic meaning it will attempt to connect to the DHCP DNS servers over DoT and in failure case downgrades to plain DNS.
- iOS allows enabling either DNS over TLS or DNS over HTTPS through configuration profiles.
The solution on SailfishOS I would like to see would be a mix of both, beginning by DNS over TLS opportunistic mode but allowing advanced user to set either DoT hostname or DoH endpoint in Settings. I think this would simultaneously avoid centralisation and allow advanced users pick an DoH endpoint for themselves, I would use DoH to avoid DoT being generally blocked in public networks.