gslb zone service dns-a-record dns-a-record-ipv4

Configures an IPv4 DNS (A) record for the service.

dns-a-record-ipv4 Specification

Type Collection
Object Key(s) dns-a-record-ip
Collection Name dns-a-record-ipv4-list
Collection URI /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/
Element Name dns-a-record-ipv4
Element URI /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/{dns-a-record-ip}
Element Attributes dns-a-record-ipv4_attributes
Statistics Data URI /axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/{dns-a-record-ip}/stats
Schema dns-a-record-ipv4 schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/

dns-a-record-ipv4 Attributes

Create List

POST

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/

dns-a-record-ipv4 Attributes

Get Object

GET

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/{dns-a-record-ip}

dns-a-record-ipv4 Attributes

Get List

GET

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/

dns-a-record-ipv4-list

Modify Object

POST

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/{dns-a-record-ip}

dns-a-record-ipv4 Attributes

Replace Object

PUT

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/{dns-a-record-ip}

dns-a-record-ipv4 Attributes

Replace List

PUT

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/

dns-a-record-ipv4-list

Delete Object

DELETE

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/{dns-a-record-ip}

dns-a-record-ipv4 Attributes

Get Stats

GET

/axapi/v3/gslb/zone/{name}/service/{service-port}+{service-name}/dns-a-record/dns-a-record-ipv4/{dns-a-record-ip}/stats

stats data

dns-a-record-ipv4-list

dns-a-record-ipv4-list is JSON List of dns-a-record-ipv4 Attributes

dns-a-record-ipv4-list : [

dns-a-record-ipv4 Attributes

admin-ip

Description: Specify admin priority of Service-IP (Specify the priority)

Type: number

Range: 1-255

as-backup

Description: This option is used to specify the backup servers in the dns-arecord within the GSLB zone. These are the servers that will be returned to the client if the primary servers fail and backup server mode is enabled.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

as-replace

Description: This option is used with the ip-replace option in the policy. When both options are set (as-replace here and ip-replace in the policy), the client receives only the IP address set here by service-ip.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

disable

Description: Disables DNS records for this service in the zone.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

dns-a-record-ip

Description: Specify the IPv4 address.

Type: string

Format: ipv4-address

Required: Yes

no-resp

Description: Prevents the IP address for this site from being included in DNS replies to clients.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

sampling-enable

Description: sampling-enable is a JSON List . Please see below for sampling-enable

Type: List

static

Description: This option is used with the dns server option in the policy. When both options are set (static here and dns server in the policy), the GSLB ACOS device acts as the DNS server for the IP address set here by service-ip.

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

ttl

Description: Assigns a time to live to the service.

Type: number

Range: 0-2147483647

Default: 0

uuid

Description: uuid of the object

Type: string

weight

Description: Assigns a weight to the service. If the Weighted-IP metric is enabled in the policy and all metrics before Weighted-IP result in a tie, the service on the site with the highest weight is selected.

Type: number

Range: 1-100

sampling-enable

Specification
Type list
Block object keys

counters1

Description: ‘all’: all; ‘hits’: Number of times the record has been used;

Type: string

Supported Values: all, hits

stats data

Counter Size Description
hits 8 Number of times the record has been used