Interface CSDNSQueriesType
- All Known Implementing Classes:
CSDNSQueriesDJ
public interface CSDNSQueriesType
An interface that abstracts over DNS queries.
-
Method Summary
Modifier and TypeMethodDescriptionFind the list of authoritative name servers for the given domain.findTXTRecordsForDomain(String domain) Find the list of TXT records for the given domain.
-
Method Details
-
findAuthoritativeNameServersForDomain
Find the list of authoritative name servers for the given domain. The domain must end with '.'.- Parameters:
domain- The domain- Returns:
- A list of name servers
- Throws:
IOException- On lookup failures
-
findTXTRecordsForDomain
Find the list of TXT records for the given domain. The domain must end with '.'.- Parameters:
domain- The domain- Returns:
- A list of records
- Throws:
IOException- On lookup failures
-