Table of Contents

Class CnameRecord

Namespace
Iot.Device.MulticastDns.Entities
Assembly
Iot.Device.MulticastDns.dll

Represents a CNAME Record Resource (DNS Resource Type 5).

public class CnameRecord : TargetResource
Inheritance
CnameRecord
Inherited Members

Constructors

CnameRecord(string, string, int)

Initializes a new instance of the CnameRecord class.

public CnameRecord(string domain, string targetDomain, int ttl = 2000)

Parameters

domain string

The domain this Record is about.

targetDomain string

The targetDomain which is a CNAME for the domain.

ttl int

The TTL of this resource.