Crate libdns

Source
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§

CreateRecordError
Represents an error that occured when creating DNS records using CreateRecord::create_record.
CreateZoneError
Represents an error that occured when creating DNS zones using CreateZone::create_zone.
DeleteRecordError
Represents an error that occured when deleting DNS records using DeleteRecord::delete_record.
DeleteZoneError
Represents an error that occured when deleting DNS zones using DeleteZone::delete_zone.
RecordData
Represents a DNS record value.
RetrieveRecordError
Represents an error that occured when retrieving DNS records using Zone::list_records or Zone::get_record.
RetrieveZoneError
Represents an error that occured when retrieving DNS zones using Provider::list_zones or Provider::get_zone.

Traits§

CreateRecord
Represents a Zone that supports record creation.
CreateZone
Represents a Provider that supports zone creation.
DeleteRecord
Represents a Zone that supports record deletion.
DeleteZone
Represents a Provider that supports zone deletion.
Provider
Represents a DNS zone provider.
Zone
Represents a DNS zone.