Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DNS settings are not picked up from Android #2

Open
t184256 opened this issue Mar 12, 2019 · 7 comments
Open

DNS settings are not picked up from Android #2

t184256 opened this issue Mar 12, 2019 · 7 comments

Comments

@t184256
Copy link
Collaborator

t184256 commented Mar 12, 2019

Currently DNS servers are set to 1.1.1.1 and 8.8.8.8 and that will cause problems with networks that block them. DNS settings should be picked up from Android, ideally with VPN support and runtime changes. I have no idea how to implement this at the moment.

@t184256
Copy link
Collaborator Author

t184256 commented Jul 14, 2019

Idea: maybe it's easier to run a DNS server on Android and use it from inside Nix-on-Droid?

@io12
Copy link

io12 commented Feb 19, 2020

I am also having this issue.

@rambip
Copy link

rambip commented Jun 16, 2022

I have the same issue

I think termix found a way to do it:
termux/termux-app#130

@ettom
Copy link

ettom commented Jul 31, 2023

I got DNS to work: https://github.com/ettom/dnshack
This should work pretty much to the extent that DNS works on termux. That is, only the programs that don't use the libc resolver will not work correctly.

@t184256 t184256 added this to To do in Release 23.11 via automation Sep 29, 2023
@t184256
Copy link
Collaborator Author

t184256 commented Oct 29, 2023

Just a note that I remember about this and ettom's project, but so far I've utterly failed even in writing a regular NSS hosts module for a regular NixOS.

@RyanGibb
Copy link

I have the same issue

I think termix found a way to do it: termux/termux-app#130

Looks like that was closed as not planned termux/termux-packages#1174 (comment)

@t184256
Copy link
Collaborator Author

t184256 commented Nov 22, 2023

Progress update: I still remember about it, still would like to accomplish it, decided to start small by writing a trivial toy NSS plugin first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

5 participants