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

Running from Docker: why not use "--net=host" #22

Open
leeee-me opened this issue Nov 9, 2024 · 0 comments
Open

Running from Docker: why not use "--net=host" #22

leeee-me opened this issue Nov 9, 2024 · 0 comments

Comments

@leeee-me
Copy link

leeee-me commented Nov 9, 2024

I am using NextDNS as host DNS service. This means:
Newere NextDNS will use systemd-resolved with DoT/DoH in systemd-resolved.
Older NextDNS will use its own DNS deamon and replace 127.0.0.1:53 to point itself.

In this case, docker may be confused or ignore these conflict DNS settings. Hence, it will report wrong leak information since the container will point DNS to other places rather than NextDNS,

In that case, with "--net=host", this can prevent the confusion and incompatibility.

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

No branches or pull requests

1 participant