safer AWS host checking in dawg