add DnsManager interface
allow methods to throw Exception