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?