• 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 CNameRecord

    A DnsResourceRecord repesenting the canonical name for an alias.

    Inheritance
    Object
    ResourceRecordInfo
    DnsResourceRecord
    CNameRecord
    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
    public class CNameRecord : DnsResourceRecord

    Constructors

    | Improve this Doc View Source

    CNameRecord(ResourceRecordInfo, DnsString)

    Initializes a new instance of the CNameRecord class.

    Declaration
    public CNameRecord(ResourceRecordInfo info, DnsString canonicalName)
    Parameters
    Type Name Description
    ResourceRecordInfo info

    The information.

    DnsString canonicalName

    The canonical name.

    Exceptions
    Type Condition
    ArgumentNullException

    If canonicalName or info is null.

    Properties

    | Improve this Doc View Source

    CanonicalName

    Gets the canonical name for an alias.

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

    The canonical name.

    See Also

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