Expand description
Abstracting and implementing DNS zone management for different providers.
This crate defines a generic provider-agnostic API to manage DNS zones and optionally provides implementations for well-known providers.
§Providers
The most basic trait for every DNS zone provider is Provider. It only support zone retrieval by default.
The following capabilities can be implemented additionally:
§Zones
The generic DNS Zone also only supports record retrieval by default.
The following capabilities can be implemented additionally:
Structs§
- Record
- Represents a DNS record.
Enums§
- Create
Record Error - Represents an error that occured when creating DNS records using
CreateRecord::create_record. - Create
Zone Error - Represents an error that occured when creating DNS zones using
CreateZone::create_zone. - Delete
Record Error - Represents an error that occured when deleting DNS records using
DeleteRecord::delete_record. - Delete
Zone Error - Represents an error that occured when deleting DNS zones using
DeleteZone::delete_zone. - Record
Data - Represents a DNS record value.
- Retrieve
Record Error - Represents an error that occured when retrieving DNS records using
Zone::list_recordsorZone::get_record. - Retrieve
Zone Error - Represents an error that occured when retrieving DNS zones using
Provider::list_zonesorProvider::get_zone.
Traits§
- Create
Record - Represents a
Zonethat supports record creation. - Create
Zone - Represents a
Providerthat supports zone creation. - Delete
Record - Represents a
Zonethat supports record deletion. - Delete
Zone - Represents a
Providerthat supports zone deletion. - Provider
- Represents a DNS zone provider.
- Zone
- Represents a DNS zone.