Test more error cases for DNS ping.