<div dir="ltr">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.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 4, 2014 at 3:36 PM, Raymond Norton <span dir="ltr"><<a href="mailto:admin@lctn.org" target="_blank">admin@lctn.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I get the following error:<br>
<br>
Host hostnames not found: 3(NXDOMAIN)<div class="HOEnZb"><div class="h5"><br>
<br>
<br>
<br>
<br>
On 12/04/2014 02:55 PM, <a href="mailto:tclug@freakzilla.com" target="_blank">tclug@freakzilla.com</a> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
for ip in list_of_hostnames; do<br>
host $ip<br>
done<br>
<br>
<br>
<br>
<br>
On Thu, 4 Dec 2014, Raymond Norton wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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?<br>
<br>
<br>
</blockquote>
______________________________<u></u>_________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/<u></u>mailman/listinfo/tclug-list</a><br>
</blockquote>
<br></div></div><span class="im HOEnZb">
-- <br>
Raymond Norton<br>
LCTN<br>
<a href="tel:952.955.7766" value="+19529557766" target="_blank">952.955.7766</a><br>
<br></span><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/<u></u>mailman/listinfo/tclug-list</a><br>
</div></div></blockquote></div><br></div>