Class DnsRecord
Represents a DNS record entry.
Inherited Members
Namespace: Swan.Net.Dns
Syntax
public class DnsRecord
Properties
CanonicalDomainName
Gets the name of the canonical domain.
Declaration
public string CanonicalDomainName { get; }
Property Value
Type | Description |
---|---|
String | The name of the canonical domain. |
Class
Gets the class.
Declaration
public DnsRecordClass Class { get; }
Property Value
Type | Description |
---|---|
DnsRecordClass | The class. |
Data
Gets the raw data of the record.
Declaration
public byte[] Data { get; }
Property Value
Type | Description |
---|---|
Byte[] | The data. |
DataText
Gets the data text bytes in ASCII encoding.
Declaration
public string DataText { get; }
Property Value
Type | Description |
---|---|
String | The data text. |
IPAddress
Gets the ip address.
Declaration
public IPAddress IPAddress { get; }
Property Value
Type | Description |
---|---|
IPAddress | The ip address. |
MailExchangerDomainName
Gets the name of the mail exchanger domain.
Declaration
public string MailExchangerDomainName { get; }
Property Value
Type | Description |
---|---|
String | The name of the mail exchanger domain. |
MailExchangerPreference
Gets the mail exchanger preference.
Declaration
public int? MailExchangerPreference { get; }
Property Value
Type | Description |
---|---|
Nullable<Int32> | The mail exchanger preference. |
Name
Gets the name.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
String | The name. |
NameServerDomainName
Gets the name of the name server domain.
Declaration
public string NameServerDomainName { get; }
Property Value
Type | Description |
---|---|
String | The name of the name server domain. |
PointerDomainName
Gets the name of the pointer domain.
Declaration
public string PointerDomainName { get; }
Property Value
Type | Description |
---|---|
String | The name of the pointer domain. |
SoaExpireInterval
Gets the soa expire interval.
Declaration
public TimeSpan? SoaExpireInterval { get; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> | The soa expire interval. |
SoaMasterDomainName
Gets the name of the soa master domain.
Declaration
public string SoaMasterDomainName { get; }
Property Value
Type | Description |
---|---|
String | The name of the soa master domain. |
SoaMinimumTimeToLive
Gets the soa minimum time to live.
Declaration
public TimeSpan? SoaMinimumTimeToLive { get; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> | The soa minimum time to live. |
SoaRefreshInterval
Gets the soa refresh interval.
Declaration
public TimeSpan? SoaRefreshInterval { get; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> | The soa refresh interval. |
SoaResponsibleDomainName
Gets the name of the soa responsible domain.
Declaration
public string SoaResponsibleDomainName { get; }
Property Value
Type | Description |
---|---|
String | The name of the soa responsible domain. |
SoaRetryInterval
Gets the soa retry interval.
Declaration
public TimeSpan? SoaRetryInterval { get; }
Property Value
Type | Description |
---|---|
Nullable<TimeSpan> | The soa retry interval. |
SoaSerialNumber
Gets the soa serial number.
Declaration
public long? SoaSerialNumber { get; }
Property Value
Type | Description |
---|---|
Nullable<Int64> | The soa serial number. |
TimeToLive
Gets the time to live.
Declaration
public TimeSpan TimeToLive { get; }
Property Value
Type | Description |
---|---|
TimeSpan | The time to live. |
Type
Gets the type.
Declaration
public DnsRecordType Type { get; }
Property Value
Type | Description |
---|---|
DnsRecordType | The type. |