Struct trust_dns::client::SyncClient [] [src]

pub struct SyncClient { /* fields omitted */ }

The Client is abstracted over either trust_dns::tcp::TcpClientConnection or trust_dns::udp::UdpClientConnection.

Usage of TCP or UDP is up to the user. Some DNS servers disallow TCP in some cases, so if TCP double check if UDP works.

Methods

impl SyncClient
[src]

[src]

Creates a new DNS client with the specified connection type

Arguments

  • client_connection - the client_connection to use for all communication

[src]

Creates a new DNS client with the specified connection type and a SIG0 signer.

This is necessary for signed udpate requests to update trust-dns-server entries.

Arguments

  • client_connection - the client_connection to use for all communication
  • signer - signer to use, this needs an associated private key

Trait Implementations

impl Client<BasicClientHandle> for SyncClient
[src]

[src]

get a mutable reference to the tokio Core associated to the Client

[src]

Get a mutable handle reference tot the Core assiated to the Client

[src]

A classic DNS query, i.e. does not perform and DNSSec operations Read more

[src]

Sends a NOTIFY message to the remote system Read more

[src]

Sends a record to create on the server, this will fail if the record exists (atomicity depends on the server) Read more

[src]

Appends a record to an existing rrset, optionally require the rrset to exis (atomicity depends on the server) Read more

[src]

Compares and if it matches, swaps it for the new value (atomicity depends on the server) Read more

[src]

Deletes a record (by rdata) from an rrset, optionally require the rrset to exist. Read more

[src]

Deletes an entire rrset, optionally require the rrset to exist. Read more

[src]

Deletes all records at the specified name Read more