Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. Resolving a URL without DNS?

Resolving a URL without DNS?

Scheduled Pinned Locked Moved System Admin
sysadminhelpquestionworkspace
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Mike Osbahr
    wrote on last edited by
    #1

    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
    fwd

    If 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

    D M 2 Replies Last reply
    0
    • M Mike Osbahr

      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
      fwd

      If 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

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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

      M 1 Reply Last reply
      0
      • D Dave Kreskowiak

        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

        M Offline
        M Offline
        Mike Osbahr
        wrote on last edited by
        #3

        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

        D 1 Reply Last reply
        0
        • M Mike Osbahr

          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

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          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

          M 1 Reply Last reply
          0
          • M Mike Osbahr

            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
            fwd

            If 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

            M Offline
            M Offline
            Mike Osbahr
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            • D Dave Kreskowiak

              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

              M Offline
              M Offline
              Mike Osbahr
              wrote on last edited by
              #6

              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

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups