use new DnsManager API.