Resolving a URL without DNS?
-
Admittedly this is a poor way of doing things, but now I am curious as to why it doesn't work: Each PC in the network is setup to get DNS info only from the Server. The Server is setup to forward DNS requests to the Router. The Router is the network gateway and is NOT setup to forward DNS requests.
______ ______ ______ ________
| | | | | | / \
| PC |->|Server|->|Router|-> Internet
|______| |______| |______| \________/
DNS no DNS
fwdIf I run 'nslookup' on the PC for anyname.com it does not resolve the IP address. If I use IE and enter www.anyname.com in the address bar, it takes a little longer than usual then displays the web page. How is it resolving the address for the website? Thanx for any help,
>>>-----> MikeO
-
Admittedly this is a poor way of doing things, but now I am curious as to why it doesn't work: Each PC in the network is setup to get DNS info only from the Server. The Server is setup to forward DNS requests to the Router. The Router is the network gateway and is NOT setup to forward DNS requests.
______ ______ ______ ________
| | | | | | / \
| PC |->|Server|->|Router|-> Internet
|______| |______| |______| \________/
DNS no DNS
fwdIf I run 'nslookup' on the PC for anyname.com it does not resolve the IP address. If I use IE and enter www.anyname.com in the address bar, it takes a little longer than usual then displays the web page. How is it resolving the address for the website? Thanx for any help,
>>>-----> MikeO
The only way that can happen is if the browser is sending a resolution request directly to a well known public DNS server and getting a reply.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
The only way that can happen is if the browser is sending a resolution request directly to a well known public DNS server and getting a reply.
Dave Kreskowiak Microsoft MVP - Visual Basic
Does IE do this? If so, is there a setting I can change to make it stop? Also, is there a way to turn off caching on the Server DNS? Since the Server has a forwarder, do the root hints come into play? Thanx for the quick reply,
>>>-----> MikeO
-
Does IE do this? If so, is there a setting I can change to make it stop? Also, is there a way to turn off caching on the Server DNS? Since the Server has a forwarder, do the root hints come into play? Thanx for the quick reply,
>>>-----> MikeO
Mike Osbahr wrote:
Does IE do this?
I have no idea. But, it wouldn't surprise me.
Mike Osbahr wrote:
If so, is there a setting I can change to make it stop?
The most likely candidate for this would be to go into Tool/Internet Options/Advanced tab, find and turn off "Search from the Address bar". If that doesn't work, I have no idea.
Mike Osbahr wrote:
Also, is there a way to turn off caching on the Server DNS?
Just about every DNS server I've seen has this option. But exactly how to do it depends entirely on the DNS server you're using. Consulting a guy named "Manual" should tell you how to do it pretty easily.
Mike Osbahr wrote:
Since the Server has a forwarder, do the root hints come into play?
If the server is setup as Forward Only, no they don't, as far as I can remember.
Dave Kreskowiak Microsoft MVP - Visual Basic
-
Admittedly this is a poor way of doing things, but now I am curious as to why it doesn't work: Each PC in the network is setup to get DNS info only from the Server. The Server is setup to forward DNS requests to the Router. The Router is the network gateway and is NOT setup to forward DNS requests.
______ ______ ______ ________
| | | | | | / \
| PC |->|Server|->|Router|-> Internet
|______| |______| |______| \________/
DNS no DNS
fwdIf I run 'nslookup' on the PC for anyname.com it does not resolve the IP address. If I use IE and enter www.anyname.com in the address bar, it takes a little longer than usual then displays the web page. How is it resolving the address for the website? Thanx for any help,
>>>-----> MikeO
I've been searching the Internet for over an hour now without success. I think I found a better way to configure DNS records though, so the search was worthwhile. The PC should not be able to resolve any URL that is unknown to the Server, but it does. The URL appears in the Server DNS cache afterwards, so I am guessing the Server is responsible. Should I remove all root hints from the Server? When I looked at the root hints only a thru m were listed, but all URLs are being resolved. Why would the Server resolve a DNS request from IE, but not resolve a request from 'nslookup'? Again, thanx for any replies...
>>>-----> MikeO
-
Mike Osbahr wrote:
Does IE do this?
I have no idea. But, it wouldn't surprise me.
Mike Osbahr wrote:
If so, is there a setting I can change to make it stop?
The most likely candidate for this would be to go into Tool/Internet Options/Advanced tab, find and turn off "Search from the Address bar". If that doesn't work, I have no idea.
Mike Osbahr wrote:
Also, is there a way to turn off caching on the Server DNS?
Just about every DNS server I've seen has this option. But exactly how to do it depends entirely on the DNS server you're using. Consulting a guy named "Manual" should tell you how to do it pretty easily.
Mike Osbahr wrote:
Since the Server has a forwarder, do the root hints come into play?
If the server is setup as Forward Only, no they don't, as far as I can remember.
Dave Kreskowiak Microsoft MVP - Visual Basic
Was posting my other message around the time you replied, I guess. According to Manual, if you turn off recursive lookups on MS DNS server it still caches search results but isn't supposed to use them (I guess 'disable cache' didn't sound technical enough for MS). It also said that setting a forwarder for the DNS server offloads ALL zone requests for which the server is not the authority. The server is not forward only though, since it must still resolve the local domain. The Search from Address Bar is a likely candidate, though how the URL winds up in the DNS server cache would still be a mystery. I also found that many people recommend disabling DNS client caching on the PC, though it is on by default. Thanx again, Dave.
>>>-----> MikeO