Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Nov 2001 16:30:33 -0500
From:      The Anarcat <anarcat@anarcat.dyndns.org>
To:        Jim Conner <jconner@enterit.com>
Cc:        cjclark@alum.mit.edu, FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: can't do reverse dns with /etc/hosts
Message-ID:  <20011123213032.GC26346@shall.anarcat.dyndns.org>
In-Reply-To: <5.1.0.14.0.20011123164749.0245ec60@mail.enterit.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011123213032.GC26346>