DnsResourceRecord Class

Represents a DNS resource record.

public sealed class DnsResourceRecord

Constructors

NameDescription
DnsResourceRecord()

DnsResourceRecord()

DnsResourceRecord.cs
public DnsResourceRecord()

No documentation is available.

Properties

NameDescription
ClassGets or sets the record class.
DataGets or sets the record-specific data.
NameGets or sets the domain name to which this record pertains.
TimeToLiveGets or sets the time to live in seconds.
TypeGets or sets the record type.

Gets or sets the record class.

public DnsQueryClass Class { get; set; }

Property value

DnsQueryClass

Gets or sets the record-specific data.

public DnsResourceRecordData? Data { get; set; }

Gets or sets the domain name to which this record pertains.

public string Name { get; set; }

Property value

string

Gets or sets the time to live in seconds.

public uint TimeToLive { get; set; }

Property value

uint

Gets or sets the record type.

public DnsQueryType Type { get; set; }

Property value

DnsQueryType