DomainRecordProps
Properties for defining a DomainRecord.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-dns-domainrecord
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkdns"
&alicloudroscdkdns.DomainRecordProps {
DomainName: interface{},
Rr: interface{},
Type: interface{},
Value: interface{},
Line: interface{},
Priority: interface{},
Ttl: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
DomainName | interface{} | Property domainName: Domain name. |
Rr | interface{} | Property rr: The host record. |
Type | interface{} | Property type: Parse record type, see parsing record type format. |
Value | interface{} | Property value: Record value. |
Line | interface{} | Property line: Parse the line, the default is default. |
Priority | interface{} | Property priority: The priority of the MX record. |
Ttl | interface{} | Property ttl: The time to live (TTL) value of the Domain Name System (DNS) record. |
DomainNameRequired
DomainName interface{}
- Type: interface{}
Property domainName: Domain name.
RrRequired
Rr interface{}
- Type: interface{}
Property rr: The host record.
To resolve example.com, set the host record to "@" instead of leaving it empty.
TypeRequired
Type interface{}
- Type: interface{}
Property type: Parse record type, see parsing record type format.
ValueRequired
Value interface{}
- Type: interface{}
Property value: Record value.
LineOptional
Line interface{}
- Type: interface{}
Property line: Parse the line, the default is default.
See parsing line enumeration
PriorityOptional
Priority interface{}
- Type: interface{}
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
Ttl interface{}
- Type: interface{}
Property ttl: The time to live (TTL) value of the Domain Name System (DNS) record.
Default value: 600. Unit: seconds.