# Class CSDNSQueriesFactoryDJ

java.lang.Object
com.io7m.certusine.vanilla.internal.dns.CSDNSQueriesFactoryDJ

All Implemented Interfaces:
  `CSDNSQueriesFactoryType`

public final class CSDNSQueriesFactoryDJ extends Object implements CSDNSQueriesFactoryType
A DNS query implementation based on `dnsjava`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CSDNSQueriesFactoryDJ()`
  A DNS query implementation based on `dnsjava`.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CSDNSQueriesType`
  `withDefaultNameServers()`
  `CSDNSQueriesType`
  `withNameServers(List<String> nameServers)`

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CSDNSQueriesFactoryDJ

    public CSDNSQueriesFactoryDJ()
    A DNS query implementation based on `dnsjava`.

- ## Method Details

  - ### withDefaultNameServers

    public CSDNSQueriesType withDefaultNameServers()
    Specified by:
      `withDefaultNameServers` in interface `CSDNSQueriesFactoryType`
    Returns:
      A query interface using the default name servers

  - ### withNameServers

    public CSDNSQueriesType withNameServers(List<String> nameServers)
    Specified by:
      `withNameServers` in interface `CSDNSQueriesFactoryType`
    Parameters:
      `nameServers` - The list of name servers
    Returns:
      A query interface using the given name servers