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(CSDNSRecordNameType recordName, String recordValue) Create a TXT record with the given text.voiddeleteTXTRecord(CSDNSRecordNameType recordName, String recordValue) Delete a TXT record with the given text.
-
Method Details
-
createTXTRecord
void createTXTRecord(CSDNSRecordNameType recordName, String recordValue) throws IOException, InterruptedException Create a TXT record with the given text.- Parameters:
recordName- The record namerecordValue- The text- Throws:
IOException- On errorsInterruptedException- On thread interruption
-
deleteTXTRecord
void deleteTXTRecord(CSDNSRecordNameType recordName, String recordValue) throws IOException, InterruptedException Delete a TXT record with the given text.- Parameters:
recordName- The record namerecordValue- The text- Throws:
IOException- On errorsInterruptedException- On thread interruption
-