Using google DNS 8.8.8.8 with local web servers

Page 1 of 2 12 LastLast

  1. Posts : 159
    7 ultimate x64
       #1

    Using google DNS 8.8.8.8 with local web servers


    Hi,

    I need help from someone with good DNS knowledge.

    I have a server in windows lets says its called "testing" to be original.

    When i use my router as DNS server and input "testing" into my browser it comes up fine.

    When i set my DNS to 8.8.8.8 im not sure if this will work?

    I can see my DNS cache in windows when i have my routers DNS but no cache using google DNS.

    would the local web servers DNS address be stored on googles DNS???

    Thanks
      My Computer


  2. Posts : 2,497
    Windows 7 Pro 64 bit
       #2

    would the local web servers DNS address be stored on googles DNS???
    Not likely.

    The only way that Google DNS could know about your server is if it was hosting a website with a registered domain and there was a DNS server authoritative for the domain. Nothing in your post suggests that that is the case.
      My Computer


  3. Posts : 159
    7 ultimate x64
    Thread Starter
       #3

    I have just tried this and i was able to connect, DNS is 8.8.8.8

    Where are these records stored for my web server?
      My Computer


  4. Posts : 2,497
    Windows 7 Pro 64 bit
       #4

    If you are operating an Internet accessible website with a registered domain then there will be a DNS server authoritative for that domain. This could be operated by you or some other service. The owner of the domain would have access to this information.

    You can use this website to obtain information for any registered domain name:
    https://www.whoisxmlapi.com/
      My Computer


  5. Posts : 159
    7 ultimate x64
    Thread Starter
       #5

    Its not its local...so if i have 8.8.8.8 as my DNS server how does this still work when i type in the local server name in my browser?
      My Computer


  6. Posts : 2,497
    Windows 7 Pro 64 bit
       #6

    If the server is only accessible locally then DNS isn't involved at all (unless of course there is a local DNS server). The IP address of the server is obtained by local network methods. Google DNS servers only know about Internet accessible servers with registered domains.
      My Computer


  7. Posts : 159
    7 ultimate x64
    Thread Starter
       #7

    Would DNS not be used to resolve "testing" to 192.168.0.1

    There is no local DNS set, my DHCP server is designed to provide 8.8.8.8 and 8.8.4.4 as the DNS server.

    Im just curious as to how this is resolved, i didn't think this would've worked to be honest...
      My Computer


  8. Posts : 2,497
    Windows 7 Pro 64 bit
       #8

    192.168.0.1 is a local IP address and is invisible on the Internet. There are untold thousands of computers worldwide using that IP address. An Internet DNS server has no way of knowing anything about local IP addresses or how they are used. Only a local DNS server would have such knowledge.

    In your case the IP address is resolved by broadcasting the name to all computers on the local network. The computer with the name in question will reply with it's IP address. No DNS server is consulted.
      My Computer


  9. Posts : 159
    7 ultimate x64
    Thread Starter
       #9

    Ah that makes sense now...so windows web server would have the DNS records stored locally to provide to local clients connecting using DNS. how can i view them?

    I think this maybe worth a packet sniffer...

    I found something interesting...its not broadcasting its multicasting
    Multicast DNS - Wikipedia, the free encyclopedia
      My Computer


  10. Posts : 2,497
    Windows 7 Pro 64 bit
       #10

    There are no DNS records because there is no DNS involved. The webserver just knows it's own name.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:30.
Find Us