Package com.io7m.certusine.api
Interface CSDNSConfiguratorType
- All Known Implementing Classes:
CSGandiDNSConfigurator,CSVultrDNSConfigurator
public interface CSDNSConfiguratorType
The type of DNS configurators that know how to create DNS records.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreateTXTRecord(CSTelemetryServiceType telemetry, CSDNSRecordNameType recordName, String recordValue) Create a TXT record with the given text.voiddeleteTXTRecord(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 resultsrecordName- The record namerecordValue- The text- Throws:
IOException- On errorsInterruptedException- 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 resultsrecordName- The record namerecordValue- The text- Throws:
IOException- On errorsInterruptedException- On thread interruption
-