Class CSDNSQueriesDJ
java.lang.Object
com.io7m.certusine.vanilla.internal.dns.CSDNSQueriesDJ
- All Implemented Interfaces:
CSDNSQueriesType
A DNS query implementation based on
dnsjava.-
Constructor Summary
ConstructorsConstructorDescriptionCSDNSQueriesDJ(List<String> inNames) A DNS query implementation based ondnsjava. -
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.
-
Constructor Details
-
CSDNSQueriesDJ
A DNS query implementation based ondnsjava.- Parameters:
inNames- The name servers to use for queries
-
-
Method Details
-
findAuthoritativeNameServersForDomain
Description copied from interface:CSDNSQueriesTypeFind the list of authoritative name servers for the given domain. The domain must end with '.'.- Specified by:
findAuthoritativeNameServersForDomainin interfaceCSDNSQueriesType- Parameters:
domain- The domain- Returns:
- A list of name servers
- Throws:
IOException- On lookup failures
-
findTXTRecordsForDomain
Description copied from interface:CSDNSQueriesTypeFind the list of TXT records for the given domain. The domain must end with '.'.- Specified by:
findTXTRecordsForDomainin interfaceCSDNSQueriesType- Parameters:
domain- The domain- Returns:
- A list of records
- Throws:
IOException- On lookup failures
-