Stared at it, and tested, and it's indeed quite useful (v3 had a stray
"%s" which is fixed in v4).
Without the patch, trying with "--local <v6 address>" + "--remote <v4only>"
RESOLVE: Cannot resolve host address: v4only.v6.de:51194 (No address
associated with hostname)
with the patch:
RESOLVE: Cannot resolve host address: v4only.v6.de:51194[AF_INET6] (No
address associated with hostname)
so when trying to diagnose user reports, this immediately points to
"mmmh, something is forcing v6 here, why?".
With no --local and no --proto udp4, nothing is forced, and thus:
RESOLVE: Cannot resolve host address: nix.v6.de:51194 (Name or service not
known)
Your patch has been applied to the master branch.
commit d16781531898b4c5a76cfe6cba02fccce9afb8ad
Author: Arne Schwabe
Date: Tue Mar 25 20:57:43 2025 +0100
Mention address if not unspecific on DNS failure
Signed-off-by: Arne Schwabe <[email protected]>
Acked-by: Gert Doering <[email protected]>
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg31237.html
Signed-off-by: Gert Doering <[email protected]>
--
kind regards,
Gert Doering
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel