How to use dig with an ip list
Fraser Tweedale
frase at frase.id.au
Tue Aug 19 03:09:05 UTC 2008
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
> ip+hostname list. IOW, I want to go from this:
>
> x.x.x.x
> y.y.y.y
>
> to this;
>
> x.x.x.x foo.domain.tld
> y.y..y.y bar.domain.tld
>
> What's the best/easiest way to do this?
>
> Paul Schmehl (pauls at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080819/b937c896/attachment.pgp
More information about the freebsd-questions
mailing list