File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes General Computing and the fly likes DNS resolve issue - private DNS and public DNS Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "DNS resolve issue - private DNS and public DNS" Watch "DNS resolve issue - private DNS and public DNS" New topic

DNS resolve issue - private DNS and public DNS

Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 524
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 can't resolve to IP address but ping 106.*.*.* (IP of works.
and it also works for famous websites like, ping works not to mention its IP address ping also works.
So, somehow private/local DNS can't resolve for but it can for why?

And another interesting point is if I change from "obtain DNS automatically" to manual and use google's public DNS, above problem disappears. Why? Why my local DNS can resolve for other famous website, but can not resolve for What's the practical difference between using public DNS vs private DNS?
Saurabh Pillai
Ranch Hand

Joined: Sep 12, 2008
Posts: 524
Cross post
Martin Vajsar

Joined: Aug 22, 2010
Posts: 3733

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 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.
Rajesh Poovakode

Joined: Aug 04, 2013
Posts: 1
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.

Rajesh P
I agree. Here's the link:
subject: DNS resolve issue - private DNS and public DNS
jQuery in Action, 3rd edition