Use local network while VPN'd into another network


Answer: 1

9 hours ago

So I'm at work and I VPN into a remote network. Both networks have their own DNS servers that have hostnames that resolve to internal IP's. I've set it up in network manager so I can ping internal IP's on both networks (including the DNS servers) but I can't get DNS lookup on both networks simultaneously.

$ cat /etc/resolv.conf
# Generated by NetworkManager

I'm using Ubuntu 11.04 64-bit desktop.

Where is the VPN DNS server and and 7 are the local DNS servers. Will I need to run some sort of local dns server that pulls from both?


dig -b mylocalserver

; <<>> DiG 9.7.3 <<>> -b mylocalserver
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 42426
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;mylocalserver.             IN  A

;; Query time: 0 msec
;; WHEN: Thu Feb 23 14:01:40 2012
;; MSG SIZE  rcvd: 23
Added by: Hosea Koepp

Answer: 2

12 hours ago

This comment may answer the question:

Indeed, so you've boiled your question down to: How can I use multiple DNS servers for queries? Turns out that isn't really possible (that I know of). So the alternate question is: How can I get one of the DNS servers to not return Not Found? The answer to that is to have the DNS server forward requests to other DNS servers before replying with Not Found.

– Huckle Feb 24 '12 at 22:59

Added by: Lavon Wyman

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9