Hello, As far as i can see (i may be wrong) this setting defines how the DNS servers are contacted. For example on whether to use DNSSEC or not. But it does not define - based on the domain or subnet part (for reverse lookup) - which DNS server is to be queried.
Kind regards Petric > -----Original Message----- > From: Илья Шипицин [mailto:chipits...@gmail.com] > Sent: Sonntag, 25. Januar 2015 12:28 > > have a look at NRPT (which is "name resolution policy table") > > https://technet.microsoft.com/ru-ru/library/ee649207%28v=ws.10%29.aspx Done. > however, openvpn doesn't yet support that > > 2015-01-20 15:56 GMT+05:00 Frank, Petric (Petric) > <petric.fr...@alcatel-lucent.com>: > > Hello, > > > > this is not exactly a OpenVPN problem. > > > > I connect via VPN to a network (own subnet). There is a DNS server > serving hosts of some (specific) domains in this subnet. > > > > Problem is how to keep the locally configured DNS, but tell the > system to ask the DNS behind the VPN tunnel when it requests hosts from > the (known) domains of this DNS server. > > > > For example: > > Lookup of google.com -> ask preconfigured DNS > > Lookup of *.local.dom -> ask DNS behind VPN tunnel (local.dom is > > managed by him) > > > > As far as I know I can only replace the configured DNS server by > adding the line > > push "dhcp-option DNS a.b.c.d" > > > > but I would like to have something like > > push "dhcp-option DNS local.dom a.b.c.d" > > telling that all lookups of local.dom should be directed to a.b.c.d. > > > > I don't know whether this is possible as such. > > > > Local host is Windows 7 > > VPN server is Linux ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users