this post was submitted on 18 Jul 2023
10 points (100.0% liked)

Ask Android

2046 readers
13 users here now

A place to ask your questions and seek help related to your Android device and the Android ecosystem.

Whether you're looking for app recommendations, phone buying advice, or want to explore rooting and tutorials, this is the place for you!

Rules
  1. Be descriptive: Help us help you by providing as many details as you can.
  2. Be patient: You're getting free help from Internet strangers, so you may have to wait for an answer.
  3. Be helpful: If someone asks you for more information, tell us what you can. If someone asks you for a screenshot, please provide one!
  4. Be nice: Treat others with respect, even if you don't agree with their advice. Accordingly, you should expect others to be nice to you as well. Report intentionally rude answers.
  5. No piracy: Sharing or discussing pirated content is strictly prohibited. Do not ask others for a paid app or about how to acquire one.
  6. No affiliate/marketing links: Posting affiliate links is not allowed.
  7. No URL shorteners: These can hide the true location of the page and lead people to malicious places.
  8. No lockscreen bypasses: Please do not comment, link, or assist with bypassing lock screens or factory reset protection.
  9. No cross-posting: Please take the time to make a proper post instead of cross-posting.
Other Communities

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 1 year ago

Unfortunately, Android does not natively support applying the Private DNS settings to devices connected via hotspot. When you set a Private DNS on your Android device, it only applies to the network connections of the device itself, not to devices connected to its hotspot.

The devices connected to your hotspot will typically use the DNS server provided by the ISP of the hotspot device, and not the DNS server that you've manually set on the Android device.

If you want to force a specific DNS for all devices connected to your hotspot, you would typically need to manually set the DNS on each device connected to the hotspot, which can be cumbersome.

Another way around this would be to use a VPN service on your Android device that allows for custom DNS settings. Some VPN services will apply these DNS settings to all traffic going through the VPN, including devices connected to the hotspot.

Please note that the above information is based on the current state of Android and could change in future updates. Always make sure to check the most recent and updated information.