![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to: Linux BOX in Windows Domain (w/out joining the domain) | regmaster | Windows & DOS: Issues & Discussions | 2 | 04-28-2009 08:30 AM |
| Logical Domains for CoolThreads Servers - Guest domain boot error | iBot | Solaris BigAdmin RSS | 0 | 04-21-2009 07:15 PM |
| cut subsrting from string depending on pattern | Muslem_it | Shell Programming and Scripting | 5 | 08-04-2008 07:45 AM |
| split file depending on content | Chaitrali | Shell Programming and Scripting | 4 | 11-14-2007 09:15 AM |
| Do commands depending on the comparision | mr_bold | UNIX for Dummies Questions & Answers | 4 | 04-12-2007 06:31 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Select DNS Servers depending on the domain
Hello,
I'm using CentOS 5.3, and I connect to a VPN in order to work. The problem is that I'm constantly accessing things on the local network and the remote network. But once I'm connected to the VPN I can't access local addresses by name, I have to use the ip-address. What I'd like is to configure things so that all of the things that are on my domain use my local DNS, and the rest of the stuff use the VPN DNS. Is this possible? Regards |
|
||||
|
while you are VPN connected ; can you try to resolve anything using you local DNS ? ; can you even ping your local DNS ?
i have a feeling that your VPN connection should not filter out any communication with local IP network ? if so then test this criteria by trying to do a DNS query while VPN connected some thing like #nslookup then set the server to your local server >server my.dns.ip.address then try to resolve any local DNS name if the request times out this means that your resolver [DNS client] could not communicate with your DNS server ! ; if not then this means that you will need to add the local DNS to the list of valid DNS servers that is used while you are VPN connected [this is related with the configuration acquisition that is made upon VPN connection ] regards Last edited by shico1973; 05-13-2009 at 03:34 PM.. Reason: correction |
|
||||
|
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 Code:
nameserver 172.x.x.x 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
thanks and regards |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|