using MailSharp.DNS; using MailSharp.DNS.Records; using System; /* * http://tools.ietf.org/rfc/rfc2672.txt * 3. The DNAME Resource Record The DNAME RR has mnemonic DNAME and type code 39 (decimal). DNAME has the following format: DNAME The format is not class-sensitive. All fields are required. The RDATA field is a [DNSIS]. * */ namespace MailSharp.DNS.Records; public record RecordDNAME(RecordReader rr) : DnsRecord(rr) { public string Target { get; } = rr.ReadDomainName(); public override string ToString() => Target; }