From owner-freebsd-questions@FreeBSD.ORG Tue Aug 19 03:09:05 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 80362106568D for ; Tue, 19 Aug 2008 03:09:05 +0000 (UTC) (envelope-from Fraser@bacardi.frase.id.au) Received: from bacardi.frase.id.au (203-219-142-174.static.tpgi.com.au [203.219.142.174]) by mx1.freebsd.org (Postfix) with ESMTP id 046938FC0C for ; Tue, 19 Aug 2008 03:09:04 +0000 (UTC) (envelope-from Fraser@bacardi.frase.id.au) Received: from bacardi.frase.id.au (localhost [127.0.0.1]) by bacardi.frase.id.au (8.14.2/8.14.2) with ESMTP id m7J2iB5L000195; Tue, 19 Aug 2008 12:44:16 +1000 (EST) (envelope-from Fraser@bacardi.frase.id.au) Received: (from Fraser@localhost) by bacardi.frase.id.au (8.14.2/8.14.2/Submit) id m7J2i5TC099983; Tue, 19 Aug 2008 12:44:05 +1000 (EST) (envelope-from Fraser) Date: Tue, 19 Aug 2008 12:44:05 +1000 From: Fraser Tweedale To: Paul Schmehl Message-ID: <20080819024404.GB4326@bacardi.frase.id.au> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eJnRUKwClWJh1Khz" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Questions Subject: Re: How to use dig with an ip list X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Aug 2008 03:09:05 -0000 --eJnRUKwClWJh1Khz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Aug 18, 2008 at 09:03:36PM -0500, Paul Schmehl wrote: > I know I'm missing the obvious. I want to use an IP list to generate an= =20 > ip+hostname list. IOW, I want to go from this: >=20 > x.x.x.x > y.y.y.y >=20 > to this; >=20 > x.x.x.x foo.domain.tld > y.y..y.y bar.domain.tld >=20 > What's the best/easiest way to do this? >=20 > Paul Schmehl (pauls@utdallas.edu) > Senior Information Security Analyst > The University of Texas at Dallas > http://www.utdallas.edu/ir/security/ dig(1) - see section `MULTIPLE QUERIES' note the -x flag to instruct dig to perform a reverse lookup see also host(1) frase --eJnRUKwClWJh1Khz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkiqM3QACgkQPw/2FZbemTWfCwCgs6F5bpaZisYredcOnAJEBV6V p6MAoJaUFPLe2j17CG33crCGu5bGubil =LI2u -----END PGP SIGNATURE----- --eJnRUKwClWJh1Khz--