DNS resolution for private net connected through VPN
I've set up a VPN connection (from a private subnet into a private subnet) to a MacMini SLS. The connection works fine.
The DNS server on that SLS also works as it should.
On the advanced tab in network settings for the VPN connection I've entered the domain name (domain.intra) on the «VPN on Demand tab» and I've also entered the DNS Server address and Search Domain on the «DNS» tab.
When I connect to the VPN and run a dig command for one of the servers on the other side, my system (10.6.4) still asks my local DNS server and name resolution fails.
I don't want to route all traffic over the VPN connection, so I did not check the «Send all traffic over VPN connection» setting.
Here are some log messages:
06.09.10 11:30:43 pppd[1332] IPSec connection established
06.09.10 11:30:44 pppd[1332] L2TP connection established.
06.09.10 11:30:44 pppd[1332] Connect: ppp0 <--> socket[34:18]
06.09.10 11:30:45 pppd[1332] local IP address 192.168.200.246
06.09.10 11:30:45 pppd[1332] remote IP address 192.168.200.251
06.09.10 11:30:45 pppd[1332] primary DNS address 192.168.200.251
06.09.10 11:30:45 pppd[1332] secondary DNS address 192.168.200.251
So it looks like the DNS server gets added somehow. Why isn't it working? And why wouldn't the system automatically connect through that VPN when I try to access an address inside domain.intra? Isn't that what the VPN on Demand settings are for?
Thanks for your suggestions, Rado
Macbook Pro (Original) 17", MacMini SLS (2010), Mac OS X (10.6.4)