Table of Contents

Class RecordCname

Namespace
Ubiety.Dns.Core.Records.General
Assembly
Ubiety.Dns.Core.dll

Represents a DNS Canonical Name (CNAME) record used to specify that a domain name is an alias for another domain name.

public record RecordCname : Record, IEquatable<Record>, IEquatable<RecordCname>
Inheritance
RecordCname
Implements
Inherited Members

Constructors

RecordCname(RecordReader)

Initializes a new instance of the RecordCname class.

public RecordCname(RecordReader reader)

Parameters

reader RecordReader

RecordReader for the record data.

Properties

Cname

Gets the canonical name (CNAME) for the DNS record, which represents the primary domain name to which the alias refers.

public string Cname { get; }

Property Value

string

Methods

ToString()

Returns a string representation of the CNAME record.

public override string ToString()

Returns

string

A string that represents the canonical name of the record.