I changed the name to hostnames and populated with IPs.





On 12/04/2014 03:41 PM, Jeff Chapin wrote:
> list_of_hostnames should be an actual list of hostnames.
>
> 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
>
>

-- 
Raymond Norton
LCTN
952.955.7766