On Mon, 18 Aug 2008 21:03:36 -0500
Paul Schmehl <[EMAIL PROTECTED]> 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?

You could pipe it through:

  while read ip;do echo "${ip} `dig +short -x ${ip}`";done


_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to