[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: system not using hosts file



On Thu, Apr 10, 2008 at 05:02:14PM -0400, Brian McKee wrote:
> ==> host -v fred
> Received 97 bytes from 192.168.0.2#53 in 0 ms

You probably want

getent hosts fred

the man pages for hosts and getent should explain the differences

-- 
Chi usa software non libero avvelena anche te. Digli di smettere.
Informatica=arsenico: minime dosi in rari casi patologici, altrimenti letale.
Informatica=bomba: intelligente solo per gli stupidi che ci credono.


Reply to: