gslb zone service dns-a-record¶
Specify DNS Address Record
dns-a-record Specification¶
Parameter
Value
Type
Intermediate Resource
Element Name
dns-a-record
Element URI
/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record
Element Attributes
dns-a-record_attributes
Partition Visibility
shared
Schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Get Object | GET | /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record | dns-a-record_attributes |
dns-a-record attributes¶
dns-a-record-ipv4-list
Type: List
Reference Object: /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/{dns-a-record-ip}
dns-a-record-ipv6-list
Type: List
Reference Object: /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv6/{dns-a-record-ipv6}
dns-a-record-srv-list
Type: List
Reference Object: /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-srv/{svrname}
dns-a-record-srv-list¶
Specification
Value
Type
list
Block object keys
admin-ip
Description Specify admin priority of Service-IP (Specify the priority)
Type: number
Range: 1-255
as-backup
Description As backup when fail
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
as-replace
Description Return this Service-IP when enable ip-replace
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
disable
Description Disable this Service-IP
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
no-resp
Description Don’t use this Service-IP as DNS response
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
static
Description Return this Service-IP in DNS server mode
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
svrname
Description Specify name
Type: string
Maximum Length: 63 characters
Maximum Length: 1 characters
Reference Object: /axapi/v3/gslb/service-ip
ttl
Description Specify TTL for Service-IP
Type: number
Range: 0-2147483647
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
weight
Description Specify weight for Service-IP (Weight value)
Type: number
Range: 1-100
dns-a-record-ipv4-list¶
Specification
Value
Type
list
Block object keys
admin-ip
Description Specify admin priority of Service-IP (Specify the priority)
Type: number
Range: 1-255
as-backup
Description As backup when fail
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
as-replace
Description Return this Service-IP when enable ip-replace
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
disable
Description Disable this Service-IP
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
dns-a-record-ip
Description Specify IP address
Type: string
Format: ipv4-address
no-resp
Description Don’t use this Service-IP as DNS response
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
static
Description Return this Service-IP in DNS server mode
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ttl
Description Specify TTL for Service-IP
Type: number
Range: 0-2147483647
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
weight
Description Specify weight for Service-IP (Weight value)
Type: number
Range: 1-100
dns-a-record-ipv6-list¶
Specification
Value
Type
list
Block object keys
admin-ip
Description Specify admin priority of Service-IP (Specify the priority)
Type: number
Range: 1-255
as-backup
Description As backup when fail
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
as-replace
Description Return this Service-IP when enable ip-replace
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
disable
Description Disable this Service-IP
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
dns-a-record-ipv6
Description IPV6 address
Type: string
Format: ipv6-address
no-resp
Description Don’t use this Service-IP as DNS response
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
static
Description Return this Service-IP in DNS server mode
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
ttl
Description Specify TTL for Service-IP
Type: number
Range: 0-2147483647
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
weight
Description Specify weight for Service-IP (Weight value)
Type: number
Range: 1-100