i want DNS queries which matches the domain names, are announce by server to remote client move through the tunnel (to the DNS server that are defined in config) while others do not (use system dns by isp/home network)
my software is openvpn ver 2.5.8 server + openvpn3 3.3.6 client (windows)
server.conf
Code: Select all
push "dhcp-option DNS 10.76.4.153"
push "dhcp-option DOMAIN xxx.ua"
Code: Select all
SENT CONTROL [USERNAME]: 'PUSH_REPLY,topology subnet,route-gateway 10.226.152.1,route 10.0.0.0 255.0.0.0,dhcp-option DNS 10.76.4.153,dhcp-option DOMAIN xxx.au,ping 5,ping-restart 30,ifconfig 10.226.152.11 255.255.248.0,peer-id 0,auth-tokenSESS_ID,cipher AES-256-GCM' (status=1)
Code: Select all
NRPT::ActionCreate names=[.xxx.ua] dns_servers=[10.76.4.153]
but all dns queries to .xxx.ua ( test1.xxx.ua, test2.xxx.ua ) don't send throught vpn tunnel (i see it on wireshark) , and go to dns on system network.
I would like to know if split dns by openvpn is supported?
can i do something wrong?
thanks in advance