Dig and nslookup resolve; ping doesn't

From: Mark Tunnell (unixadmin_at_livebridge.com)
Date: 07/14/05

  • Next message: ray: "Re: We are 3 or 4 guys, working on Linux Systems, how can we get some project to pay our Bills"
    Date: Wed, 13 Jul 2005 15:53:17 -0700
    
    

    I've got a box running Fedora Core release 3. I'm able to resolve
    names such as www.yahoo.com using nslookup or dig but not using ping.
    "ping www.yahoo.com" returns "ping: unknown host www.yahoo.com".

    /etc/host.conf
         order hosts,bind
    /etc/nsswitch.conf
         hosts: files dns

    I'm logged in as root. What am I missing here?

    Mark


  • Next message: ray: "Re: We are 3 or 4 guys, working on Linux Systems, how can we get some project to pay our Bills"

    Relevant Pages

    • Re: How to resolve names
      ... So I can ping and try to ssh/telnet the 2 other machines from my PC via ... name/address resolution via nslookup. ... use dig instead, but its brokenness does not extend to returning answers ...
      (comp.os.linux.networking)
    • Re: NSLookup vs. Ping results
      ... > What would cause the Ping command to not resolve an address (such as ... > www.yahoo.com) when the NSLookup utility can resolve the address just ... typing NSLOOKUP www.yahoo.com resolves the addresses ok. ... service, but the ping command uses the system's resolver service, which can ...
      (microsoft.public.win2000.dns)
    • Re: DNS problem???
      ... roger steele made a post then I commented below ... that hasn't been discretely determined yet because nslookup ... or ping hasn't been mentioned and assumed hasn't been tried by Whyme (the ... nslookup will resolve names, then we can rule out a DNS issue. ...
      (microsoft.public.win2000.dns)
    • Re: slow start
      ... Should I be able to ping all the ntp servers in my /etc/ntp.conf? ... You should not, however, start your troubleshooting by pinging your NTP servers. ... Don't use nslookup, use dig. ... I suggested nslookup, rather than dig, because nslookup is installed on both Solaris and Windoze and I think Linux as well. ...
      (comp.protocols.time.ntp)
    • Re: NSLookup vs. Ping results
      ... > What would cause the Ping command to not resolve an address (such as ... > www.yahoo.com) when the NSLookup utility can resolve the address just ... > I have a win2000 client that can ping the IP address directly ... > typing NSLOOKUP www.yahoo.com resolves the addresses ok. ...
      (microsoft.public.win2000.dns)