Subject: Re: Command-line utility for gethostbyname(3)?
To: Jeremy C. Reed <reed@reedmedia.net>
From: None <wojtek@3miasto.net>
List: netbsd-users
Date: 04/21/2001 09:24:55
> Address: 192.168.0.1
>
> *** pilchuck can't find rainier: Non-existent host/domain
>
> (And dig just returns a root server.)
>
> It does resolve though:
>
> $ telnet rainier daytime
> Trying 192.168.0.2...
> Connected to rainier.
> Escape character is '^]'.
> Fri Apr 20 11:22:10 2001
> Connection closed by foreign host.
>
> Is there any command-line utility that is simply an interface to
> gethostbyname(3)? (I tried using apropos to find something.)
ping -c 1 <name> should be ok