Well, thanks everyone for helping out! A special thank you to mugwumpjism, your script does exactly what I need. Plus I had to look up join and unpack so that I could learn what they did. =) Extra bonus!
I will look into those other programs that were suggested (no sense in reinventing the wheel!). However, it sounds like what I really need to do is go buy a book on DNS, right? This is an internship I'm doing at a company, as the dedicated programmer for their IS department. So perhaps I could have solved this problem with some more knowledge of DNS? For example, I have no idea what a zone transfer is, so I'm going to go look that up as well.
In reply to Re: How can I determine all the hosts on my network?
by Ri-Del
in thread How can I determine all the hosts on my network?
by Ri-Del
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |