How to use dig with an ip list

Jeffrey Goldberg jeffrey at goldmark.org
Tue Aug 19 13:39:31 UTC 2008


On Aug 18, 2008, at 10:25 PM, Fraser Tweedale wrote:

> On Mon, Aug 18, 2008 at 10:18:07PM -0500, Jeffrey Goldberg wrote:
>> You'll want to change line four to
>>
>>  echo "$LINE " `dig +short -x $LINE`
>>
>> for a cleaner output.
>>
> The original works fine for me in ash.  Definitely nothing wrong  
> with yours
> though.  What have I overlooked?

Sorry, I misread what you actually wrote for what I would have written  
(before correction).  What you have is perfectly correct.

Or, in the words of Emily Latela: Nevermind.

Cheers,

-j



More information about the freebsd-questions mailing list