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

Add Customizable Resolver #2241

Open
MeCJay12 opened this issue Sep 2, 2022 · 1 comment
Open

Add Customizable Resolver #2241

MeCJay12 opened this issue Sep 2, 2022 · 1 comment

Comments

@MeCJay12
Copy link

MeCJay12 commented Sep 2, 2022

Is your feature request related to a problem? Please describe.
I've recently enabled IPv6 on my docker environment and since then I get intermittent 502 errors on my sites. Digging into it, I found out that /etc/nginx/conf.d/include/resolvers.conf was being auto-populated with the docker v4 dns server plus two public ipv6 resolvers. Once I mounted my own resolvers.conf (read-only) file with just the docker v4 dns everything went back to normal. I know that I could go through and add the resolver line in the advance config of each host but that's a pain.

Before: resolver 127.0.0.11 [2001:4860:4860::8888] [2001:4860:4860::8844] valid=10s;
After: resolver 127.0.0.11 valid=10s;

Describe the solution you'd like
I suggest the default be the docker v4 dns server. That seems like the solution most people would want. If not, maybe a global setting to override the default resolver.

Describe alternatives you've considered
I mounted my own resolvers.conf file over the default; read-only so that NPM can't re-write it. I could also add my resolver config line to each host in the advance section but that would be a pain.

Additional context
N/A

Copy link

Issue is now considered stale. If you want to keep it open, please comment 👍

@github-actions github-actions bot added the stale label Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant