问题
Please scroll down for the solution that solved my problem...
Question :::
Firstly, please excuse me for asking this question here. I have searched other sites in SO network, but I didn't really understand where to put this and this is the only site that I am familiar with. I also, have spent hours reading other sites, but didn't find an answer. I request moderators to, please move this question to appropriate site, if this is not related here.
I have IE, Mozilla, Google Chrome installed in my system. When I try to view sites for example, http://www.millennialmedia.com
, I get a DNS Lookup failed error in all the browsers. I can access most of the sites, but this error is only with a few. The colleagues at my workplace were able to access the site without any problems. I cannot even open the site at my house. I get the same DNS Lookup failed error. So, I guess the problem is not related to network and since my friends are able to access it, it's not the problem with the site as well. It must be a problem in my system.
I have Windows 7 Ultimate Edition on my system.
If someone has any idea on how to resolve this, please guide me.
Here is my hosts file
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
Change the settings in the browser to no proxy. The screenshot is with Mozilla Firefox and it works now..
回答1:
Run the following from your command prompt.
nslookup www.millennialmedia.com
This should respond with an IP address as well as let you know your current DNS server that's resolving your requests. On my machine the output was as below which implies the site is accessible to me.
nslookup millennialmedia.com
Server: <hidden>
Address: <hidden>
Non-authoritative answer:
Name: millennialmedia.com
Addresses: 216.146.46.11
216.146.46.10
回答2:
Try to ping the domain name and check if you are seeing the same IP address as the other machines where it is working. Also check the hosts file on your system.
来源:https://stackoverflow.com/questions/16643412/dns-lookup-failed-error-with-all-browsers