Private DNS doesn't apply to devices connected through hotspot?
I've set a specific provider under the Private DNS setting and it works for the direct connection between the phone and the network, but it won't work on the devices that are connected to the hotspot of my phone, they instead fall back onto the default DNS of my ISP.
Is there a way to force that DNS on all the devices connected?
I wish it were that simple, but that's sadly not really a solution in every case, I'd have to set up that DNS for every device that connects to it first, even those that aren't mine
This is about network policy, my device working as the DHCP server has to impart the devices that connect to it with their IP, gateway and DNS, it isn't necessarily about individual user privacy. In my case it is more for my own privacy/security, I don't want others to send DNS requests to my ISP because I trust the filters on my DNS of choice more.
Of course, if they really wanted, they could still set their own DNS on their device, but this is meant for those that don't even think about it
I know that if you have a VPN running, there's a setting "Allow clients to use VPNs". You might be able to install WireGuard and set up a connection with no peers, but still set what DNS server you want to use, then allow clients to use the VPN, which might give the clients the VPN's DNS settings