Hi,
I'm writing a unix script, I need a way to test the response time of a group of IP addresses (they are DNS addresses).
I was thinking I could you
Code:
dig google.com @[DNS_1]
but I should use it in a loop and I should get the
in the result string and I don't know how to do that.
It would be nice if the script was able to get the DNS list from a simple file where each row is a DNS address.
How can I do that? Do you have any other idea?
Thanks