Re: Networking: etch doesn't find local net



jw@johannes2:~$ host student2
student2 has address 192.168.0.31

I believe 'host' goes directly to /etc/resolv.conf to see what
your DNS servers are.

jw@johannes2:~$ ping student2
ping: unknown host student2

But 'ping' goes through the 'normal' resolution process, the
first step of which is looking in /etc/nsswitch.conf.

There I suspect you don't have:

hosts: files dns

which is probably what you need.

Alexis


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Networking: etch doesnt find local net
    ... your DNS servers are. ... ping: unknown host student2 ... For the host command it correctly queries the first nameserver, but for ping it wrongly queries the second or third nameserver in resolv.conf. ...
    (Debian-User)
  • Re: Fresh install of Solaris 10 - Networking semi-working.
    ... What is odd is that I can resolve the host names, but cant connect to machines outside my LAN. ... As you can see, I can resolve host names, so it is connecting to my ISP's DNS servers I think. ... ping: unknown host sun.com ...
    (comp.unix.solaris)
  • Re: connecting via broadband?
    ... > Ping statistics for 193.252.22.137: ... >> mail server and that it is responsive so you get a mail session ... >> host that responds to 'ping' does NOT mean the server program is ... >> actually running or responsive on that host. ...
    (microsoft.public.outlook.general)
  • Re: host availability
    ... >>>google.com, my default gateway, comcast's mail server etc. ... a host was "up or down". ... If you don't get an answer to a ping request, ... happened to reset the interface right then, remote system got trojaned ...
    (comp.security.firewalls)
  • RE: ICMP (Ping)
    ... I do like your reasoning that others do not generally have a business need ... to ping your hosts, however I still prefer to allow this service not simply ... how many hosts do not respond to ICMP echo. ... DHCP server should be able to assume that if the IP were in use a host would ...
    (Security-Basics)