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

Ask Android

2073 readers
4 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] 2 points 1 year ago* (last edited 1 year ago) (1 children)

Seems like a simple fix, just manually set the DNS servers on devices that connect to your hotspot

[–] QuazarOmega 1 points 1 year ago (1 children)

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

[–] [email protected] 2 points 1 year ago (1 children)

If a device isn't yours, wouldn't it be the device owner's responsibility to maintain their own privacy?

[–] QuazarOmega 2 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] [email protected] 2 points 1 year ago (1 children)

Now I get 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

[–] QuazarOmega 1 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago (1 children)
[–] QuazarOmega 1 points 1 year ago

Ok, thank you! I'll try to figure out how to use it