# Interface CSDNSConfiguratorType

All Known Implementing Classes:
  `CSGandiDNSConfigurator, CSHetznerDNSConfigurator, CSVultrDNSConfigurator`

public interface CSDNSConfiguratorType
The type of DNS configurators that know how to create DNS records.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `createTXTRecord(CSTelemetryServiceType telemetry, CSDNSRecordNameType recordName, String recordValue)`
  Create a TXT record with the given text.
  `void`
  `deleteTXTRecord(CSTelemetryServiceType telemetry, CSDNSRecordNameType recordName, String recordValue)`
  Delete a TXT record with the given text.

- ## Method Details

  - ### createTXTRecord

    void createTXTRecord(CSTelemetryServiceType telemetry, CSDNSRecordNameType recordName, String recordValue) throws IOException, InterruptedException
    Create a TXT record with the given text.
    Parameters:
      `telemetry` - A telemetry service used to report results
      `recordName` - The record name
      `recordValue` - The text
    Throws:
      `IOException` - On errors
      `InterruptedException` - On thread interruption

  - ### deleteTXTRecord

    void deleteTXTRecord(CSTelemetryServiceType telemetry, CSDNSRecordNameType recordName, String recordValue) throws IOException, InterruptedException
    Delete a TXT record with the given text.
    Parameters:
      `telemetry` - A telemetry service used to report results
      `recordName` - The record name
      `recordValue` - The text
    Throws:
      `IOException` - On errors
      `InterruptedException` - On thread interruption