-
Notifications
You must be signed in to change notification settings - Fork 340
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
T4930: Allow WireGuard peers via DNS hostname #4200
base: current
Are you sure you want to change the base?
Conversation
👍 |
Build package fails (based on CI)
|
Updated. My IDE was set python3.12, that syntax is acceptable in 3.12 but not in 3.11 XD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the WG_ENDPOINT_RESOLUTION_RETRIES
var block execution while waiting to resolve?
Sorry, I don't understand your question. WG_ENDPOINT_RESOLUTION_RETRIES is an environment variable use in
By default, BTW, the |
That's what I was concerned by, we want to avoid long boot/commit time because of DNS resolution not being available. |
Yes, that's why I set it to 5 and I still feel it costs too much time. How about 3x? Or 3x by default and let user can customize it in somewhere like |
…gX max-dns-retry`
|
Hi reviewers, Still need help:
|
…erface; code style
CI integration ❌ failed! Details
|
Change Summary
T4930: Allow WireGuard peers via DNS hostname + new script resetting peer
T4930: Ensure peer is created even if dns not working
T4930: limit wg retry times by using environment variable
T4930: make wg dns retry configurable through interfaces wireguard wgX max-dns-retry
Types of changes
Related Task(s)
https://vyos.dev/T4930
Related PR(s)
Component(s) name
wireguard
Proposed changes
wg
retries for dns resolution no more than 5 times;reset wireguard
, if user want to usewg set
to force wireguard redo dns resolution;How to test
config mode
op mode
vyos without working dns
I've provided screenshots in task's comments.
configure max dns resolution retry times
Smoketest result
Checklist: