|
||||||||||
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 | |
---|---|
java.util.List |
getLocalDomainNames()
Try to get all domain names for the running host |
int |
getRecordLimit()
|
java.util.List |
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 |
---|
java.util.List getRecords(DNSRequest request) throws TimeoutException
request
- the dns request
TimeoutException
java.util.List 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 |