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:
toggle:
flat / full
normal / watch
Posting:
Post a:
Post a:
Router or switch? »
« [Other] Smart Switch or regular switch?  
AuthorAll Replies


Serbtastic
You Know How Many People I Have Buried?
Premium
join:2002-02-24
Stoney Creek

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

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?  


Thursday, 21-Aug 09:05:02 Terms of Use | Privacy Policy | Hosting by www.nac.net - DSL,Hosting & Co-lo | feedback | contact
over 9 years online! © 1999-2008 dslreports.com.
page compression OFF
Most commented news this week
· [99] Was FiOS a Good Idea?
· [77] Landscaping, Courtesy of AT&T?
· [76] ISPs Whine About Network Neutrality 'Paranoia'
· [72] FCC Finally Issues Comcast Throttling Order
· [56] Google Launches White Space Broadband Website
· [56] Craig Moffett: Network Upgrades Are For Ninnies
· [53] Did Apple iPhone Fix Make Problems Worse?
· [52] Qwest, Unions Strike Deal
· [49] Olympics Didn't Cause The Exaflood
· [49] AT&T Cooking Up New VoIP Product
Most people now reading
· Criss Angel revealed. [56k lookout! (broadband heavy)]
· How I Stole Someone's Identity [Security]
· How do you file things on your computer? [General Questions]
· [Speed] Comcast to throttle individual users; all protocols [Comcast HSI]
· Anyone know how to capture NBCOlympics.com video streams [General Questions]
· [Rant] Airlines safety (plane crash in Madrid) [Rants, Raves, & Praise]
· BroadVoice and CallCentric have smart 911 ideas. [VOIP Tech Chat]
· Symantec to Acquire PC Tools [Security]
· Philly Metro VHO8 Update [Verizon FIOS TV]
· Extjs grid combo box. [Webmasters and Developers]