Re: can ping IP but not URL???

From: Bruce Ding (dss_store_at_yahoo.com)
Date: 06/11/04


Date: 11 Jun 2004 07:38:47 -0700

unruh@string.physics.ubc.ca (Bill Unruh) wrote in message news:<cabn05$rmd$1@string.physics.ubc.ca>...
> dss_store@yahoo.com (Bruce Ding) writes:
>
> ]Hi, folks
>
> ] First, I must admit I'm a linux newbie. But things seem weird. I
> ]can ping eternal IP addresses(whatever it is). And I can use nslookup
> ]or dig. They all work fine. But I can't ping a website, say
> ]www.google.com. Nor can I open it in Mozilla. I checked with the
> ]/etc/resolv.conf, and it does have line: nameserver ***.***.***.***
> ] I can only reach so far. And maybe some other config files wrong?
>
> Can you ping that IP address after the nameserver? Are you sure that
> address is correct?
> If you can ping an IP but not a name, the problem is with DNS resolving.
> a) your nameserver in /etc/resolv.conf is wrong.
> b) your permissions on /etc/resolv.conf are wrong (rw-r--r--)
> c) your filewall blocks dns queries.

Yes, I can ping IP addresses after the nameserver. I can even use
nslookup and dig to resolve host names(from these, dns server should
be fine). But I just can't ping hostname in terminal and use mozilla.



Relevant Pages

  • Re: Page cannot be found
    ... I have been trying to help someone with a similar problem, ping of yahoo ... line "Internet Explorer Q824145 size 1.23mb used occasionally last used ... > winsock getting corrupted by installation of software can be other ... > IP address automatically", click on the DNS tab, disable DNS here, click ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: USR5637 USB modem setup (2)
    ... Good - not having those in that file breaks DNS for you. ... Avahi program. ... ping -nc2 152.46.7.80 ... Now, if this works, your setup is fine, and it's the browser that's ...
    (comp.os.linux.networking)
  • Re: Cant see out to .co.uk from inside my .local domain (forward l
    ... Well I removed the entry from my hosts file and issued a ping command to both ... network only from the server which I changed the hosts file for. ... Indeed is it even a DNS issue. ...
    (microsoft.public.windows.server.sbs)
  • Re: HTTP trouble in 2004
    ... In this way, all DNS ... how does this server resolve external ... They are just HTTP ... > Ping in ALLOW PING protool from EXTERNAL to INTERNAL ...
    (microsoft.public.isaserver)
  • Re: iptables udp and output
    ... Ping can be a nice tool to help troubleshoot the network with. ... If those are incoming connection requests, you could specify that they're ... DNS traffic is UDP. ...
    (comp.os.linux.security)