From owner-freebsd-questions Fri Nov 23 13:29:15 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts11-srv.bellnexxia.net (tomts11.bellnexxia.net [209.226.175.55]) by hub.freebsd.org (Postfix) with ESMTP id 81F7D37B418 for ; Fri, 23 Nov 2001 13:29:10 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.177.56]) by tomts11-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011123212905.CWNR24249.tomts11-srv.bellnexxia.net@khan.anarcat.dyndns.org>; Fri, 23 Nov 2001 16:29:05 -0500 Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1]) by khan.anarcat.dyndns.org (Postfix) with ESMTP id 703621931; Fri, 23 Nov 2001 16:30:49 -0500 (EST) Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000) id 56FA420ADB; Fri, 23 Nov 2001 16:30:33 -0500 (EST) Date: Fri, 23 Nov 2001 16:30:33 -0500 From: The Anarcat To: Jim Conner Cc: cjclark@alum.mit.edu, FreeBSD Questions Subject: Re: can't do reverse dns with /etc/hosts Message-ID: <20011123213032.GC26346@shall.anarcat.dyndns.org> Mail-Followup-To: The Anarcat , Jim Conner , cjclark@alum.mit.edu, FreeBSD Questions References: <20011114173647.D66694@blossom.cjclark.org> <20011115012039.GA61093@shall.anarcat.dyndns.org> <20011114173647.D66694@blossom.cjclark.org> <5.1.0.14.0.20011123164749.0245ec60@mail.enterit.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uXxzq0nDebZQVNAZ" Content-Disposition: inline In-Reply-To: <5.1.0.14.0.20011123164749.0245ec60@mail.enterit.com> User-Agent: Mutt/1.3.23.2i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --uXxzq0nDebZQVNAZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri Nov 23, 2001 at 04:48:54PM -0500, Jim Conner wrote: > At 16:14 11.23.2001 -0500, The Anarcat wrote: > >On Wed Nov 14, 2001 at 05:36:47PM -0800, Crist J. Clark wrote: > >> > >> host(1) _always_ uses DNS. > >> > > > >Doh! I should have RTFM... sorry. > > > >Is there a tool that doesn't use just DNS? >=20 > grep hostname /etc/hosts > grep password /etc/hosts >=20 > Those ought to work. The thing is that I want to test the functionality of the resolver. I need a simple userland gethostby* interface. :) nslookup and host and friends are all DNS oriented, IIUC. Anyways, I'll probably end up writing my own one-liner. ;) A. --uXxzq0nDebZQVNAZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjv+v/cACgkQttcWHAnWiGf7CQCfSB0VH4iKvqexNJXWN6t3mjGZ 0IgAn0y4ca89hao+UsbezW8HKe3jZ2DD =M9Wz -----END PGP SIGNATURE----- --uXxzq0nDebZQVNAZ-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message