Additional info from original thread for more clarity:
My server is pushing a DNS IPv4 to my OpenVPN Connect v3.2.3 client on Windows 10. The pushed DNS is received by OpenVPN connect (I can see the correct DNS in the log), but the DNS is not set in the TAP v9 adapter.
Every configuration option is correctly set on the adapter (via netsh commands).
The only option not being set via a netsh command is the DNS:
Code: Select all
NRPT::ActionCreate names=[.somedomain.com] dns_servers=[192.168.1.11]
If I try that command in Powershell I get:
Code: Select all
The term 'NRPT::ActionCreate' is not recognized as the name of a cmdlet
Whereas if I try the equivalent with netsh in Powershell, '192.168.1.11' is correctly set as the DNS value for the TAP adapter:
Code: Select all
netsh interface ipv4 set dns 49 static 192.168.1.11 primary
Without changing anything in the client or server config, but using the community edition client "OpenVPN GUI" instead of "OpenVPN Connect", the DNS IP is correctly set in the TAP adapter setting. I don't know how to get a more verbose log in OpenVPN GUI so I'm not sure which command is used to configure the DNS there.