# Interface CSDNSQueriesType

All Known Implementing Classes:
  `CSDNSQueriesDJ`

public interface CSDNSQueriesType
An interface that abstracts over DNS queries.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<String>`
  `findAuthoritativeNameServersForDomain(String domain)`
  Find the list of authoritative name servers for the given domain.
  `List<CSDNSTXTRecord>`
  `findTXTRecordsForDomain(String domain)`
  Find the list of TXT records for the given domain.

- ## Method Details

  - ### findAuthoritativeNameServersForDomain

    List<String> findAuthoritativeNameServersForDomain(String domain) throws IOException
    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

    List<CSDNSTXTRecord> findTXTRecordsForDomain(String domain) throws IOException
    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