Skip to content

DomainRecordProps

Properties for defining a DomainRecord.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-domainrecord

Initializer

using AlibabaCloud.SDK.ROS.CDK.Dns;
new DomainRecordProps {
    object DomainName,
    object Rr,
    object Type,
    object Value,
    object Line = null,
    object Priority = null,
    object Ttl = null
};

Properties

Name Type Description
DomainName object Property domainName: Domain name.
Rr object Property rr: The host record.
Type object Property type: Parse record type, see parsing record type format.
Value object Property value: Record value.
Line object Property line: Parse the line, the default is default.
Priority object Property priority: The priority of the MX record.
Ttl object Property ttl: The time to live (TTL) value of the Domain Name System (DNS) record.

DomainNameRequired

public object DomainName { get; set; }
  • Type: object

Property domainName: Domain name.


RrRequired

public object Rr { get; set; }
  • Type: object

Property rr: The host record.

To resolve example.com, set the host record to "@" instead of leaving it empty.


TypeRequired

public object Type { get; set; }
  • Type: object

Property type: Parse record type, see parsing record type format.


ValueRequired

public object Value { get; set; }
  • Type: object

Property value: Record value.


LineOptional

public object Line { get; set; }
  • Type: object

Property line: Parse the line, the default is default.

See parsing line enumeration


PriorityOptional

public object Priority { get; set; }
  • Type: object

Property priority: The priority of the MX record.

Valid values: [1,50]. This parameter is required if the record type is MX. A smaller value indicates a higher priority.


TtlOptional

public object Ttl { get; set; }
  • Type: object

Property ttl: The time to live (TTL) value of the Domain Name System (DNS) record.

Default value: 600. Unit: seconds.