[][src]Enum resolv::record::RecordType

#[repr(u16)]pub enum RecordType {
    A,
    NS,
    MD,
    MF,
    CNAME,
    SOA,
    MB,
    MG,
    MR,
    NULL,
    WKS,
    PTR,
    HINFO,
    MINFO,
    MX,
    TXT,
    RP,
    AFSDB,
    X25,
    ISDN,
    RT,
    NSAP,
    NSAP_PTR,
    SIG,
    KEY,
    PX,
    GPOS,
    AAAA,
    LOC,
    NXT,
    EID,
    NIMLOC,
    SRV,
    ATMA,
    NAPTR,
    KX,
    CERT,
    A6,
    DNAME,
    SINK,
    OPT,
    APL,
    DS,
    SSHFP,
    IPSECKEY,
    RRSIG,
    NSEC,
    DNSKEY,
    DHCID,
    NSEC3,
    NSEC3PARAM,
    TLSA,
    HIP,
    CDS,
    CDNSKEY,
    TKEY,
    TSIG,
    IXFR,
    AXFR,
    MAILB,
    MAILA,
    ANY,
    ZXFR,
    CAA,
    TA,
    DLV,
}

This is a simple u16 value indicating the type of a resource record, and is equal in value to ::libresolv_sys::__ns_type, but we have extended it with record types not present or supported by the underlying library

Variants

A

RFC 1035 - Host Address

NS

RFC 1035 - Authoritative Name Server

MD

RFC 1035 - Mail Destination (Obsolete, use MX)

MF

RFC 1035 - Mail Forwarder (Obsolete, use MX)

CNAME

RFC 1035, 4035, 6604 - Canonical Name for an Alias

SOA

RFC 1035, 1982, 2181, 2308 - Start of a Zone of Authority

MB

RFC 1035 - Mailbox Domain Name (EXPERIMENTAL)

MG

RFC 1035 - Mail Group Member (EXPERIMENTAL)

MR

RFC 1035 - Mail Rename Domain Name (EXPERIMENTAL)

NULL

RFC 1035 - A null resource record (EXPERIMENTAL)

WKS

RFC 1035 - A well known service description

PTR

RFC 1035 - A domain name pointer

HINFO

RFC 1035 - Host information

MINFO

RFC 1035 - Mailbox or mail list information

MX

RFC 1035 - Mail exchange

TXT

RFC 1035 - Text strings

RP

RFC 1183 - Responsible Person

AFSDB

RFC 1183, 6895 - AFS Database Location (Deprecated by RFC5864)

X25

RFC 1183 - X.25 Addresses (EXPERIMENTAL)

ISDN

RFC 1183 - ISDN Addresses (EXPERIMENTAL)

RT

RFC 1183 - Route Through (EXPERIMENTAL)

NSAP

RFC 1706 - Network Service Access Protocol

NSAP_PTR

RFC 1706 - Network Service Access Protocol PTR

SIG

RFC 2535 (Obsolete), 2931 - Signautre

KEY

RFC 2535 (Obsolete) - Key

PX

RFC 2163, 3597 - Pointer to X.400/RFC822 mapping information

GPOS

RFC 1712 - Geographical location

AAAA

RFC 3596 - IPv6 Address

LOC

RFC 1876 - Location Information

NXT

RFC 2535 (Obsolete) - Non-existant Names and Types

EID

https://tools.ietf.org/html/draft-ietf-nimrod-dns-00 - Endpoint Identifier

NIMLOC

https://tools.ietf.org/html/draft-ietf-nimrod-dns-00 - Nimrod Locator

SRV

RFC 2782, 6335 - Service Location

ATMA
NAPTR
KX
CERT
A6
DNAME

RFC 2672, 6604 - Delegation Name

SINK
OPT

RFC 6891, 6895 - Option

APL
DS

RFC 4033, 4034, 4035, 4509 - Delegation signer

SSHFP

RFC 4255 -SSH Public Key Fingerprint

IPSECKEY

IPsec Key

RRSIG

RFC 4033, 4034, 4035, 5702 - DNSSEC signature

NSEC

RFC 4033, 4034, 4035, 4470 - Next Secure record

DNSKEY

RFC 4033, 4034, 4035, 5702 - DNS Key

DHCID

RFC 4701 - DHCP identifier

NSEC3

RFC 5155 - Next Secure record version 3

NSEC3PARAM

RFC 5155 - NSEC3 parameters

TLSA

RFC 6698 - DNS-Based Authentication for TLS

HIP

RFC 5205 - Host Identity Protocol

CDS

Child DS - RFC 7344

CDNSKEY

Child DNSKEY - RFC 7344

TKEY

RFC 2930 - Transtion Key record

TSIG

RFC 2845, 3645, 4635, 6895 - Transaction Signature

IXFR

RFC 1995 - Incremental Zone Transfer

AXFR

RFC 1035, 5936 - A request for a transfer of an entire zone

MAILB

RFC 1035 - A request for mailbox-related records (MB, MG or MR)

MAILA

RFC 1035 - A request for mail agent RRs (Obsolete - see MX)

ANY

RFC 1035 - A request for all records

ZXFR

ALSO URI=256, see RFC 7553

CAA

RFC 6844 - Certification Authority Authorization

TA

DNSSEC Trust Authorities

DLV

RFC 4431 - DNSSEC Lookaside Validation record

Trait Implementations

impl Clone for RecordType[src]

impl Copy for RecordType[src]

impl Debug for RecordType[src]

impl PartialEq<RecordType> for RecordType[src]

impl StructuralPartialEq for RecordType[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.