How to use dig with an ip list
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:
> 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
dig(1) - see section `MULTIPLE QUERIES'
note the -x flag to instruct dig to perform a reverse lookup
see also host(1)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
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