Hello,
When I'm VPN connected and I try to access anything inside the local network, it gets resolved to an error page from Yahoo.
I did the nslookup:
Code:
$ nslookup
> server my.dns.server
> local-computer-name
And it worked. So this should be a matter of setting the
dns server on the resolv.conf file, which looks like this when I'm not vpn connected:
Code:
nameserver 172.x.x.x
And like this when I'm connected:
Code:
;;SNX;; - {
nameserver 10.x.x.x
nameserver 10.x.x.x
search corp.mycompany.com
;;SNX;; - }
; generated by /sbin/dhclient-script
nameserver 172.x.x.x
If I move my local nameserver up, everything gets resolved using my
dns, and the other way around. That's why I was kind of asking if it's posible to decide wich one to use depending on the thing you want to access.
thanks and regards