  x30n_ Not Sure What Color Pill To Call It Premium join:2000-09-14 wrong turn clubs: 
·AT&T U-Verse
edit: May 1st, @02:11PM
| reply to Ben Zona Re: [Servers] Can someone help with DNS resolution here?
1. when inside the network i use local IP for the server that is 10.10.10.x. it would work fine. however if i try using mail.myserver.com it won't resolve and i will have error message connecting to the server.
A. You need an A record for mail in your DNS server to point to your exchange servers local ip.
2. similarly when i use laptop elsewhere outside my network i can connect via mail.myserver.com or public static IP, but not via 10.10.10.x.
A. Thats because out side of your network, your internal ip isnt seen on the internet.
Q: is it possible to have ONE email client connected to mail server regardless of my current location? as if mail.myserver.com was resolved automatically within and outside my local network?
A. Once you resolve your internal dns issue and add an A record for mail, then the answer is yes. |
|
 fox7
join:2001-02-12 Culver City, CA
| x30n_: Could he use a 'Host File' here to direct the mail.myserver.com to the internal IP when he is on LAN and when outside the LAN that would fail and then it would use a proper DNS??? Is that how that could work??
Thanks your reply!
fox7 |
|
  x30n_ Not Sure What Color Pill To Call It Premium join:2000-09-14 wrong turn clubs: 
·AT&T U-Verse
| He could, it might work I dont know. I dont really deal with the host file. I have a internal dns server on my network that talks to the root servers if it isnt on my network.
But being its only one computer I dont see the harm in trying it, but when you have to start to worry about 20-30 computers, its time to hang up the use of the host file as that is just too many computers to update if you make a change. |
|
  Serbtastic You Know How Many People I Have Buried? Premium join:2002-02-24 Stoney Creek
| reply to fox7 said by fox7 :Could he use a 'Host File' here to direct the mail.myserver.com to the internal IP when he is on LAN and when outside the LAN that would fail and then it would use a proper DNS??? This wouldn't work. If an entry exists in the hosts file for mail.myserver.com pointing to IP 10.10.10.x, name resolution would always succeed. The problem would be when out on the internet trying to connect to 10.10.10.x.
DNS servers are queried only when local (hosts file) name resolution fails. |
|
 fox7
join:2001-02-12 Culver City, CA
| Serbtastic: You are confusing me. You say it would not work, but you say exactly what I said.
You: "DNS servers are queried only when local (hosts file) name resolution fails."
Me: "when outside the LAN that (the host file) would fail and then it would use a proper DNS"
I am confused by your statement.
Thanks, fox7 |
|
 LLigetfa
join:2006-05-15 Fort Frances, ON | If it can "read" the host file with the entry, that does not constitute a failure. |
|
  MattE Obama '08 Premium join:2003-07-20 Jamestown, NC
·North State Commun..
·Corporate Colocation
| reply to fox7 said by fox7 :Serbtastic: You are confusing me. You say it would not work, but you say exactly what I said. You: "DNS servers are queried only when local (hosts file) name resolution fails." Me: "when outside the LAN that (the host file) would fail and then it would use a proper DNS" I am confused by your statement. Thanks, fox7 I think he meant to say it would use the IP address associated with the external FQDN.
A server not on the same LAN (abset a VPN connection) cannont talk to any of the private IP address ranges across the public internet, of which the 10.x.x.x range is a part of. |
|
  Serbtastic You Know How Many People I Have Buried? Premium join:2002-02-24 Stoney Creek
| reply to fox7 said by fox7 :Me: "when outside the LAN that (the host file) would fail and then it would use a proper DNS" This is the part that is incorrect. Once name resolution succeeds (and in this case, because there is an entry in the hosts file it WOULD succeed) there would be no query against the configured DNS server.
Does that make sense? |
|
 fox7
join:2001-02-12 Culver City, CA
| Serbtastic: Yea, I was thinking it was semantics, but I wanted to be sure. I was thinking that if the host file did not resolve to a working connection, then it would try a real DNS server. I was speculating and that is why I wanted more clarity from you. Thanks!!!
fox7 |
|
  x30n_ Not Sure What Color Pill To Call It Premium join:2000-09-14 wrong turn clubs:  | So I guess he just needs to follow my instructions I first stated to make it work.. Just hope he set up a dns server on his network. |
|