Afficher un message
Vieux 04/10/2007, 03h48   #2
Barry Margolin
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Ping doesn't resolve with default domain

In article <1191427807.683779.81530@o80g2000hse.googlegroups. com>,
"andrew.bell.ia@gmail.com" <andrew.bell.ia@gmail.com> wrote:

> Hi,
>
> I've got a Linux machine where ping doesn't seem to resolve a hostname
> if the full domainname isn't specified. Other programs do fine. For
> instance:


What's in your /etc/resolv.conf, and what does the "hosts" line of
/etc/nsswitch.conf contain?

>
> $ ping frogger
> ping: unknown host frogger
>
> $ ping frogger.cssm.iastate.edu
> PING frogger.cssm.iastate.edu (129.186.6.75) 56(84) bytes of data.
>
> ======
>
> $ telnet frogger
> Trying 129.186.6.75...
> telnet: connect to address 129.186.6.75: Connection refused
> $ telnet frogger.cssm.iastate.edu
> Trying 129.186.6.75...
> telnet: connect to address 129.186.6.75: Connection refused
>
> Any ideas appreciated.
>
> -- Andrew Bell
> andrew.bell.ia@gmail.com


--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
  Réponse avec citation
 
Page generated in 0,04825 seconds with 9 queries