I am late to the party but great script.. I used a combination of hostname and ip's just to make sure DNS resolution was working. Also threw the time sync piece as well.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.