|
-
August 7th, 2008, 10:58 AM
#1
DNS on multiple networks
Hi,
I have two separate networks connected to my computer. One is the LAN, the other is a DSL connection. Both have valid DNS servers in their TCP stack.
Question: How can I force name resolution to use the DNS server on my LAN instead of the DSL?
The only barrier to knowledge is the perception that you already have it.
-
August 7th, 2008, 12:14 PM
#2
 Originally Posted by TropicalBound
Hi,
I have two separate networks connected to my computer. One is the LAN, the other is a DSL connection. Both have valid DNS servers in their TCP stack.
Question: How can I force name resolution to use the DNS server on my LAN instead of the DSL?
Easy go to the Properties settings on the Nic card and set the DNS to your server. In fact you can take it one step further and do that at the router. So you would point your router to your DNS server and all your clients should point to the router. That way if you wanted to update the network, you would just update the router. As long as your gateways are Ip settings are correct you can use pretty much and DNS. I like to use two separate DNS servers in case one goes down.
-
August 7th, 2008, 12:30 PM
#3
A little further clarification.
DNS is set up on both NICs and works, just not to suit my needs. Here's what I mean:
If I ping my mail server (ping mail.mydomain.com), it will return the external IP Address instead of the internal address. It appears to be using the DSL DNS info instead of my LAN DNS. I have configured DNS on my LAN connection for mydomain.com, but no joy.
I don't want to change my hosts file for times when I'm out of the office.
The only barrier to knowledge is the perception that you already have it.
-
August 7th, 2008, 01:41 PM
#4
Oh sorry no way in hell is going to return your internal ip address when your sitting behind the DSL line. It will always return the IP address of the one assigned to your DSL IP. That is because you haven't registered your Ip's as DNS servers so it wont see them. And you wont be able to beacuse your IP as not yours, they are your DSL providers. My question is this.. your pinging a domain (mail.yourdomain.com) behind a dsl? So you have a something like no-ip.com running to allow you to connect to your internal ip address?
-
August 7th, 2008, 01:52 PM
#5
I have two separate networks connected to my computer. One is the LAN, the other is a DSL connection. Both have valid DNS servers in their TCP stack.
I am connected to my LAN. I am *also* connected to DSL....
The only barrier to knowledge is the perception that you already have it.
-
August 7th, 2008, 01:54 PM
#6
All I'm trying to say is that I don't want the DNS requests for mydomain.com to go to the Internet. I want mydomain.com to look to my internal DNS.
The only barrier to knowledge is the perception that you already have it.
-
August 7th, 2008, 01:59 PM
#7
A little more info might be helpful.
Is this a case where you would like to be able to get to your internal mail or web server using the server name from a client PC both when connected to the internal network and when connected to the Internet from outside the internal network?
Example:
Internal network mail server, Internet address: http://mail.mydomain.com/exchange
Internal network mail server, Intranet address: http://192.168.1.10/exchange
If this describes your problem, then you need to have an internal DNS server set up, and use reverse DNS to allow the http://mail.mydomain.com/exchange address to be resolved to the internal IP address instead of the external one when connected to the internal network.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|