openvpn
openvpn copied to clipboard
No DNS Suffix with DCO if connection initiated through openvpn-gui on windows
Describe the bug
When connecting to openvpn community 2.6.3 from client version 2.6.3, the data channel offload interface does not pick up DOMAIN-SEARCH
or search-domains
suffixes in either the client file or pushed by the server
To Reproduce connect to the server using client 2.6.3 and the following configuration file on windows.
client
remote-cert-tls server
dev tun
proto udp
remote 123.123.123.123 1134
resolv-retry infinite
nobind
persist-key
persist-tun
verb 3
key-direction 1
cipher AES-256-GCM
auth-nocache
dhcp-option DOMAIN-SEARCH contoso.com
dhcp-option DOMAIN-SEARCH fabrikam.com
dhcp-option DNS 8.8.8.8
# tried dns search-domains contoso.com fabrikam.com here as well, too, no difference
pull
<ca></ca>
<key></key>
<cert></cert>
Expected behavior windows DCO adapter search suffix should be set properly with the specified domain search suffixes after successful connection
Version information (please complete the following information):
- OS: Windows 10 22H2
- OpenVPN version: 2.6.3 (client and server)
Additional context
Unknown adapter OpenVPN Data Channel Offload:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : OpenVPN Data Channel Offload
Physical Address. . . . . . . . . :
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Link-local IPv6 Address . . . . . : XXXXX
IPv4 Address. . . . . . . . . . . : 172.16.1.2(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCPv6 IAID . . . . . . . . . . . : XXXX
DHCPv6 Client DUID. . . . . . . . : XXXX
DNS Servers . . . . . . . . . . . : 8.8.8.8
NetBIOS over Tcpip. . . . . . . . : Enabled