public interface DNSService
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getLocalDomainNames()
Try to get all domain names for the running host
|
int |
getRecordLimit() |
List<String> |
getRecords(DNSRequest request)
Retrieve dns records for the given host
|
void |
setRecordLimit(int recordLimit)
Sets a new limit for the number of records for MX and PTR lookups.
|
void |
setTimeOut(int timeOut)
Set the timeout for DNS-Requests
|
List<String> getRecords(DNSRequest request) throws TimeoutException
request - the dns requestTimeoutExceptionList<String> getLocalDomainNames()
void setTimeOut(int timeOut)
timeOut - The timeout in secondsint getRecordLimit()
void setRecordLimit(int recordLimit)
recordLimit - the new limit (0 => unlimited)Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.