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

Regards
  Petric


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to