What are you using for the list of host names? The code posted before works fine as long as you're giving it a list correctly. On Thu, Dec 4, 2014 at 3:36 PM, Raymond Norton <admin at lctn.org> wrote: > I get the following error: > > Host hostnames not found: 3(NXDOMAIN) > > > > > > On 12/04/2014 02:55 PM, tclug at freakzilla.com wrote: > >> for ip in list_of_hostnames; do >> host $ip >> done >> >> >> >> >> On Thu, 4 Dec 2014, Raymond Norton wrote: >> >> I want to review out networks periodically for current dns records, >>> using the host dns lookup tool. I would like to use a bash script and have >>> it look up 30-50 IPs per run. Anyone have a simple script for this? >>> >>> >>> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > > -- > Raymond Norton > LCTN > 952.955.7766 > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20141204/17bb54de/attachment.html>