From owner-freebsd-questions@FreeBSD.ORG Mon Mar 28 07:10:32 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5CAD916A4CE for ; Mon, 28 Mar 2005 07:10:32 +0000 (GMT) Received: from web53909.mail.yahoo.com (web53909.mail.yahoo.com [206.190.36.219]) by mx1.FreeBSD.org (Postfix) with SMTP id D121343D54 for ; Mon, 28 Mar 2005 07:10:31 +0000 (GMT) (envelope-from stheg_olloydson@yahoo.com) Received: (qmail 11721 invoked by uid 60001); 28 Mar 2005 07:10:31 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=zw/lkOkvzenNH4DjhvWNFmU4ME1FrEG6onOqmo0+a22g6O4GJeC9J7SQ9c89E3XbQvX4CDslR2LbFdIzYrLlW/0EqTis8hla39zRCYzbYsHAEVftHvU5pdaXDzVKY3LhDq7j7JMp6W2tDz/N9wZ5Z+hxu0vl+CpPotxbJnsEOPY= ; Message-ID: <20050328071031.11719.qmail@web53909.mail.yahoo.com> Received: from [68.210.9.63] by web53909.mail.yahoo.com via HTTP; Sun, 27 Mar 2005 23:10:31 PST Date: Sun, 27 Mar 2005 23:10:31 -0800 (PST) From: stheg olloydson To: emanuel.strobl@gmx.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: Userland "dig/host" for lookups against /etc/hosts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2005 07:10:32 -0000 it was said: >It works if I ping 'hostname', but how can I find out the IP of >'hostname' from the command line? Hello, Would not grep 'hostname' /etc/hosts do this? HTH, stheg __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/