Search:  

 
 
   All ForumsHot TopicsGallery






how-to block ads


 
Forums » Up and Running » Networking » [Servers] Can someone help with DNS resolution here?
 
Search Topic:
  Share Topic:
RSS topic:
 
Posting
toggle:
flat / full
normal / watch
Post a:
Post a:
Router or switch? »
« [Other] Smart Switch or regular switch?  
AuthorAll Replies

fox7

join:2001-02-12
Culver City, CA

reply to x30n_
Re: [Servers] Can someone help with DNS resolution here?

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 See Profile :

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 See Profile :

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 See Profile :

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.
Forums » Up and Running » NetworkingRouter or switch? »
« [Other] Smart Switch or regular switch?  

Most commented news this week
· [173] East Coast Verizon Workers Authorize Strike
· [165] Is AT&T Hinting At Usage-Based Pricing This Fall?
· [149] Time Warner Cable Using Fine Print To Foist Caps On Customers
· [125] Is Broadband A Civil Right?
· [111] The Great Landline Exodus Continues
· [97] Update Your Browser, Dummy
· [82] What's Your Favorite Newsgroup Provider?
· [73] Google's Cerf: Baby Bells Act Like Tots Having Tantrums
· [73] Comcast Hit With Another Throttling Lawsuit
· [71] NY AG Will Sue Comcast If They Don't Pretend To Fight Child Porn
Friday, 25-Jul
20:30:12
Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
8th year online! © 1999-2008 dslreports.com.
page compression OFF