Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2008 12:08:51 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Paul Schmehl <pauls@utdallas.edu>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Unexepcted behavior from read and cat
Message-ID:  <EB5CC185-419F-468F-AE62-3D3FC9592003@mac.com>
In-Reply-To: <C1DFB4E8F62B503C9A829107@utd65257.utdallas.edu>
References:  <C1DFB4E8F62B503C9A829107@utd65257.utdallas.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EB5CC185-419F-468F-AE62-3D3FC9592003>