|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DNSService
Interface which should be used to access all necassary DNS-Records
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
List<String> getRecords(DNSRequest request)
throws TimeoutException
request - the dns request
TimeoutExceptionList<String> getLocalDomainNames()
void setTimeOut(int timeOut)
timeOut - The timeout in secondsint getRecordLimit()
void setRecordLimit(int recordLimit)
recordLimit - the new limit (0 => unlimited)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||