Class DnsClient
- java.lang.Object
-
- microsoft.exchange.webservices.data.dns.DnsClient
-
-
Constructor Summary
Constructors Constructor Description DnsClient()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends microsoft.exchange.webservices.data.dns.DnsRecord>
List<T>dnsQuery(Class<T> cls, String domain, String dnsServerAddress)Performs Dns query.
-
-
-
Constructor Detail
-
DnsClient
public DnsClient()
-
-
Method Detail
-
dnsQuery
public static <T extends microsoft.exchange.webservices.data.dns.DnsRecord> List<T> dnsQuery(Class<T> cls, String domain, String dnsServerAddress) throws DnsException
Performs Dns query.- Type Parameters:
T- the generic type- Parameters:
cls- DnsRecord Typedomain- the domaindnsServerAddress- IPAddress of DNS server to use (may be null)- Returns:
- DnsRecord The DNS record list (never null but may be empty)
- Throws:
DnsException- the dns exception
-
-