Working wait_for_dns_resolve via use of authoritative name server