pub enum DnsProvider {
Rfc2136 {
server: String,
tsig: Option<Tsig>,
},
Exec {
program: String,
server: Option<String>,
},
Cloudflare {
token: Secret,
api: String,
zone_id: Option<String>,
server: Option<String>,
},
Route53 {
credentials: AwsCredentials,
api: String,
zone_id: Option<String>,
server: Option<String>,
},
Manual {
server: Option<String>,
},
}Available on crate feature
acme only.Expand description
How DNS-01 records are published.
Variants§
Rfc2136
A DNS UPDATE (RFC 2136) to the zone’s primary server, signed with a TSIG key (RFC 8945) when one is given — BIND, Knot, PowerDNS, …
Exec
A program, run as <program> present <fqdn> <value> and
<program> cleanup <fqdn> <value>; exit status 0 = done. server
(dns_server, optional) is where to look for the record; the system
resolver without it.
Cloudflare
Cloudflare’s API with an API token; the zone by id or looked up.
server as for Exec.
Route53
Amazon Route 53 with the standard AWS credentials; the hosted zone by
id or looked up. server as for Exec.
Manual
Nobody: records are published by you (dns-persist-01). server
is where rws looks for them; the system resolver without it.
Trait Implementations§
Source§impl Clone for DnsProvider
impl Clone for DnsProvider
Source§fn clone(&self) -> DnsProvider
fn clone(&self) -> DnsProvider
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DnsProvider
impl RefUnwindSafe for DnsProvider
impl Send for DnsProvider
impl Sync for DnsProvider
impl Unpin for DnsProvider
impl UnsafeUnpin for DnsProvider
impl UnwindSafe for DnsProvider
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Available on crate feature
map-response-body only.Apply a transformation to the response body. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
Available on crate feature
trace only.High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
Available on crate feature
trace only.High level tracing that classifies responses using gRPC headers. Read more