Testing approach for DNS calls