Skip to main content

create_record

Function create_record 

Source
pub async fn create_record<C: RecordWrite + ?Sized>(
    client: &C,
    zone: &str,
    domain: &str,
    ttl: u32,
    record: &RecordData,
) -> Result<Value>
Expand description

Create a DNS record through a vendor-neutral record writer.

ยงErrors

Returns any error reported by the selected DNS backend.