slb common global-dns-cache

Configure global DNS cache related settings

global-dns-cache Specification

Parameter Value
Type Configuration Resource
Element Name global-dns-cache
Element URI /axapi/v3/slb/common/global-dns-cache
Element Attributes global-dns-cache_attributes
Partition Visibility shared
Schema global-dns-cache schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/slb/common/global-dns-cache

global-dns-cache attributes

Get Object

GET

/axapi/v3/slb/common/global-dns-cache

global-dns-cache attributes

Modify Object

POST

/axapi/v3/slb/common/global-dns-cache

global-dns-cache attributes

Replace Object

PUT

/axapi/v3/slb/common/global-dns-cache

global-dns-cache attributes

Delete Object

DELETE

/axapi/v3/slb/common/global-dns-cache

global-dns-cache attributes

global-dns-cache attributes

class-list

Description: class-list is a JSON Block. Please see below for class-list

Type: Object

Reference Object: /axapi/v3/slb/common/global-dns-cache/class-list

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

class-list

Specification Value
Type object

lid-list

name

Description Specify a class list name

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

class-list_lid-list

Specification Value
Type list
Block object keys  

conn-rate-limit

Description Connection rate limit

Type: number

Range: 1-2147483647

dns

Description: dns is a JSON Block. Please see below for class-list_lid-list_dns

Type: Object

lidnum

Description Specify a limit ID

Type: number

Range: 1-1023

lockout

Description Don’t accept any new connection for certain time (Lockout duration in minutes)

Type: number

Range: 1-1023

log

Description Log a message

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

log-interval

Description Log interval (minute, by default system will log every over limit instance)

Type: number

Range: 1-255

over-limit-action

Description ‘ignore’: Ignore the limit and proceed; ‘drop’: Drop the query when it exceeds limit;

Type: string

Supported Values: ignore, drop

Default: drop

per

Description Per (Number of 100ms)

Type: number

Range: 1-65535

user-tag

Description Customized tag

Type: string

Format: string-rlx

Maximum Length: 127 characters

Maximum Length: 1 characters

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

class-list_lid-list_dns

Specification Value
Type object

cache-action

Description ‘cache-disable’: Disable dns cache; ‘cache-enable’: Enable dns cache;

Type: string

Supported Values: cache-disable, cache-enable

Default: cache-enable

honor-server-response-ttl

Description Honor the server response TTL

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

ttl

Description TTL for cache entry (TTL in seconds)

Type: number

Range: 1-65535

Default: 300

weight

Description Weight for cache entry

Type: number

Range: 1-7

Default: 1