-
-
Notifications
You must be signed in to change notification settings - Fork 407
[FEAT] How to not set DNS at all, a.k.a. PEERDNS=none? #382
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
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions. |
I would love to see this as well, currently I have to manually modify configs after generation |
You can modify the template and remove the line |
This issue is locked due to inactivity |
Is this a new feature request?
Wanted change
I'd like a way to configure docker-wireguard, so the config files it creates don't set DNS at all.
Reason for change
I want remote access to my home lab and there are only two IP addresses in there - I don't want to change the client's DNS configuration (which is already complicated).
Proposed code change
I think I achieved this with this diff to the template in the config:
(Or I could've just removed the line entirely).
It seems to work. Could it be documented? If we don't want to bother, feel free to just close this issue. I think I would've found it by searching for issues like this one 🙂.
Ideally this could be acheived with
PEERDNS=none
, but I couldn't see how that could easily be achieved withroot/etc/s6-overlay/s6-rc.d/init-wireguard-confs/run
.The text was updated successfully, but these errors were encountered: