The endpoint field in the peer of the WireGuard connection allows the insertion of a domain name, however this is resolved in the IP address only to the activation of the connection.
The following code by Jason A. Donenfeld (Creator of WireGuard) was created to allow you to avoid doing off+on in the event that peer has changed IP address.
Is it expected to be implemented in the future? Please do it otherwise I have to try to do it custom to make my Speedster capable of detecting the change of IP address and trying to restore the connection with peer, in this way it is useful to use the domain name and make sense.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
foschi
Hello everyone.
The endpoint field in the peer of the WireGuard connection allows the insertion of a domain name, however this is resolved in the IP address only to the activation of the connection.
The following code by Jason A. Donenfeld (Creator of WireGuard) was created to allow you to avoid doing off+on in the event that peer has changed IP address.
https://github.com/WireGuard/wireguard-tools/blob/master/contrib/reresolve-dns/reresolve-dns.sh
Is it expected to be implemented in the future? Please do it otherwise I have to try to do it custom to make my Speedster capable of detecting the change of IP address and trying to restore the connection with peer, in this way it is useful to use the domain name and make sense.
Thank you!
Edited by foschi6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.