microsoft.exchange.webservices.data.dns
Class DnsClient
java.lang.Object
microsoft.exchange.webservices.data.dns.DnsClient
public class DnsClient
- extends Object
Class that represents DNS Query client.
|
Method Summary |
static
<T extends microsoft.exchange.webservices.data.dns.DnsRecord>
List<T> |
|
dnsQuery(Class<T> cls,
String domain,
String dnsServerAddress)
Performs Dns query. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DnsClient
public DnsClient()
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
Copyright © 2012–2015 Microsoft. All rights reserved.