Q about "netdb hosts" command ?

Damien Wetzel (d.wetzel@fr.cis.philips.com)
Thu, 24 Apr 1997 12:00:51 +0200

HI everybody,
I m using scotty 2.1.5 on SunOs 4.1.3
I m trying to understand how the netdb hosts works
my /etc/hosts is 3 lines :
192.2.3.66 sut1
192.2.3.1 mcx2
192.2.4.1 mcx2-wan

when i type netdb hosts , i got a huge list of {name,ipaddress} so
i guess it is the result of ypcat hosts. the command is ok

then i try
"netdb hosts address sut1" i got
unknown IP host name "sut1"

"netdb hosts address anyname_from_the_huge_list_above" i got
unknown IP host name "anyname_from_the_huge_list_above"

so my question is :did i misunderstand something ?
thanks for any help...

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DAMIEN WETZEL  (Network Engineer)               ("`-/")_.-'"``-._
PHILIPS PCE BPI 27                              . . `; -._    )-;-,_`)
4-16 avenue du General Leclerc                 (v_,)'  _  )`-.\  ``-'
92260 Fontenay aux Roses France                _.- _..-_/ / ((.'
http://altern.org/dwetzel                    ((,.-'   ((,/            
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.