Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2008 12:44:05 +1000
From:      Fraser Tweedale <frase@frase.id.au>
To:        Paul Schmehl <pauls@utdallas.edu>
Cc:        FreeBSD Questions <questions@freebsd.org>
Subject:   Re: How to use dig with an ip list
Message-ID:  <20080819024404.GB4326@bacardi.frase.id.au>
In-Reply-To: <F00086DB609A849EAB40A058@Macintosh.local>
References:  <F00086DB609A849EAB40A058@Macintosh.local>

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

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



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