• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

DNS resolve issue - private DNS and public DNS

 
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
OS : Windows 7
Network properties : DHCP and obtain DNS automatically

In office network,

local IP address : 208.*.*.*
DNS (which is chosen automatically based on above mentioned setting) : 208.*.*.* i.e. local/private DNS
Trying to PING one website hosted by third party, can not ping it but I can ping the same website using its IP address and I can open the website in browser without any issues.
i.e. ping www.xyz.com can't resolve to IP address but ping 106.*.*.* (IP of www.xyz.com) works.
and it also works for famous websites like, ping www.google.com works not to mention its IP address ping also works.
So, somehow private/local DNS can't resolve for www.xyz.com but it can for www.google.com why?

And another interesting point is if I change from "obtain DNS automatically" to manual and use google's public DNS 8.8.8.8, above problem disappears. Why? Why my local DNS can resolve for other famous website, but can not resolve for www.xyz.com? What's the practical difference between using public DNS vs private DNS?
 
Saurabh Pillai
Ranch Hand
Posts: 541
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Cross post http://stackoverflow.com/questions/17560368/dns-resolve-issue-private-dns-and-public-dns
 
Sheriff
Posts: 3837
66
Netbeans IDE Oracle Firefox Browser
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A possibility is that your company intentionally blocks some addresses, though I'm not sure whether this is done on the DNS level; I'd expect them to block the IP addresses directly. I'm not an expert, but I believe that the private DNS server might provide names of computers on the intranet; you wouldn't get those if you used a public DNS server.

Just a warning: I tried using Google's DNS server (the 8.8.8.8) in my office some time ago, but it caused some trouble (the other computers didn't see mine), so I had to revert to the office DNS server. And perhaps make sure you're not violating your company policy by using the Google's DNS server.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
your dns server must be configured with a forwarding rule to the public dns. Once you do this, then you will never get the page can not be displayed error in the browser.

regards
Rajesh P
 
There is no greater crime than stealing somebody's best friend. I miss you tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic