Unexepcted behavior from read and cat
Chuck Swiger
cswiger at mac.com
Mon May 12 19:08:51 UTC 2008
On May 12, 2008, at 11:59 AM, Paul Schmehl wrote:
> WTF? Why do these utilities, which usually read all the lines in a
> file now only work once when run through dig? Is there a way to
> feed dig a list of IPs and have it return each and every one of them?
The dig which comes with BIND 9 supports doing multiple queries; older
versions of dig apparently will only do a single query. Try doing
"dig -f iplist" for batch-mode multiple queries, but trying to feed
other options (like +short) will cause it to not output anything when
I just tested.
(The command-line argument handling of this utility is wildly
nonstandard and sometimes plainly broken, IMO....)
--
-Chuck
More information about the freebsd-questions
mailing list