<div>Hello everyone!</div><div><br></div><div>If you use a DNS address as an endpoint and there is no internet connection, WireGuard will hang for two minutes and then exit with error.<br></div><div><br></div><div>IMO the expected behavior should be the same as in OpenVPN:<br></div><div>WireGuard starts immediately and patiently tries to resolve the DNS until it succeeds.<br></div><div><br></div><div>Thus, WireGuard should resolve the DNS just before connecting to the server. And just keep trying and trying without any timeouts.<br></div><div><br></div><div>I'd like to install WireGuard on technician's computers and there is no guarantee that they will start phone tethering within 2 minutes of starting their machine. OpenVPN would pass this scenario.<br></div><div><br></div><div>What do you think?<br></div>