• DnsClient
  • Readme
  • Api Docs
  • MichaCo.net
This site uses "cookies" - small data files stored locally on your computer - to save information about your preferences when using this site. Learn More.

    Show / Hide Table of Contents

    Class SoaRecord

    A DnsResourceRecord represending a SOA (Start Of Authority) record.

    Inheritance
    Object
    ResourceRecordInfo
    DnsResourceRecord
    SoaRecord
    Inherited Members
    DnsResourceRecord.ToString()
    DnsResourceRecord.ToString(Int32)
    ResourceRecordInfo.DomainName
    ResourceRecordInfo.RecordType
    ResourceRecordInfo.RecordClass
    ResourceRecordInfo.TimeToLive
    ResourceRecordInfo.InitialTimeToLive
    ResourceRecordInfo.RawDataLength
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: DnsClient.Protocol
    Assembly: DnsClient.dll
    Syntax
    [CLSCompliant(false)]
    public class SoaRecord : DnsResourceRecord

    Constructors

    | Improve this Doc View Source

    SoaRecord(ResourceRecordInfo, DnsString, DnsString, UInt32, UInt32, UInt32, UInt32, UInt32)

    Initializes a new instance of the SoaRecord class.

    Declaration
    public SoaRecord(ResourceRecordInfo info, DnsString mName, DnsString rName, uint serial, uint refresh, uint retry, uint expire, uint minimum)
    Parameters
    Type Name Description
    ResourceRecordInfo info

    The information.

    DnsString mName

    Name original domain name.

    DnsString rName

    Name responsible domain name.

    UInt32 serial

    The serial number.

    UInt32 refresh

    The refresh time.

    UInt32 retry

    The retry time.

    UInt32 expire

    The expire time.

    UInt32 minimum

    The minimum TTL.

    Exceptions
    Type Condition
    ArgumentNullException

    If info or mName or rName is null.

    Properties

    | Improve this Doc View Source

    Expire

    Gets a 32 bit time value that specifies the upper limit on the time interval that can elapse before the zone is no longer authoritative.

    Declaration
    public uint Expire { get; }
    Property Value
    Type Description
    UInt32

    The expiration.

    | Improve this Doc View Source

    Minimum

    Gets the unsigned 32 bit minimum TTL field that should be exported with any RR from this zone.

    Declaration
    public uint Minimum { get; }
    Property Value
    Type Description
    UInt32

    The minimum TTL.

    | Improve this Doc View Source

    MName

    Gets the domain name of the name server that was the original or primary source of data for this zone.

    Declaration
    public DnsString MName { get; }
    Property Value
    Type Description
    DnsString

    The doman name.

    | Improve this Doc View Source

    Refresh

    Gets a 32 bit time interval before the zone should be refreshed.

    Declaration
    public uint Refresh { get; }
    Property Value
    Type Description
    UInt32

    The refresh time.

    | Improve this Doc View Source

    Retry

    Gets a 32 bit time interval that should elapse before a failed refresh should be retried.

    Declaration
    public uint Retry { get; }
    Property Value
    Type Description
    UInt32

    The retry time.

    | Improve this Doc View Source

    RName

    Gets a domain name which specifies the mailbox of the person responsible for this zone.

    Declaration
    public DnsString RName { get; }
    Property Value
    Type Description
    DnsString

    The responsible mailbox domain name.

    | Improve this Doc View Source

    Serial

    Gets the unsigned 32 bit version number of the original copy of the zone.Zone transfers preserve this value. This value wraps and should be compared using sequence space arithmetic.

    Declaration
    public uint Serial { get; }
    Property Value
    Type Description
    UInt32

    The serial number.

    See Also

    RFC 1035
    • Improve this Doc
    • View Source
    © 2025 by Michael Conrad. All rights reserved. - MichaCo.net