slb template dns class-list

Add a classification list to a DNS template.

class-list Specification

Type Configuration Resource
Element Name class-list
Element URI /axapi/v3/slb/template/dns/{name}/class-list
Element Attributes class-list_attributes
Schema class-list schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/slb/template/dns/{name}/class-list

class-list Attributes

Get Object

GET

/axapi/v3/slb/template/dns/{name}/class-list

class-list Attributes

Modify Object

POST

/axapi/v3/slb/template/dns/{name}/class-list

class-list Attributes

Replace Object

PUT

/axapi/v3/slb/template/dns/{name}/class-list

class-list Attributes

Delete Object

DELETE

/axapi/v3/slb/template/dns/{name}/class-list

class-list Attributes

class-list Attributes

lid-list

Description: lid-list is a JSON List . Please see below for lid-list

Type: List

Reference Object: /axapi/v3/slb/template/dns/{name}/class-list/lid/{lidnum}

name

Description: Specify a class list name

Type: string

uuid

Description: uuid of the object

Type: string

lid-list

Specification
Type list
Block object keys

action-value

Description: ‘dns-cache-disable’: Disable DNS cache when it exceeds limit; ‘dns-cache-enable’: Enable DNS cache when it exceeds limit; ‘forward’: Forward the traffic even it exceeds limit;

Type: string

Supported Values: dns-cache-disable, dns-cache-enable, forward

conn-rate-limit

Description: Connection rate limit

Type: number

Range: 1-2147483647

dns

Description: dns is a JSON Block . Please see below for l171_dns

Type: Object

lidnum

Description: Specify a limit ID

Type: number

Range: 1-31

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: Action when exceeds limit

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

per

Description: Per (Number of 100ms)

Type: number

Range: 1-65535

user-tag

Description: Customized tag

Type: string

Format: string-rlx

uuid

Description: uuid of the object

Type: string

lid-list.dns

Specification
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-disable

ttl

Description: TTL for cache entry (TTL in seconds)

Type: number

Range: 1-65535

weight

Description: Weight for cache entry

Type: number

Range: 1-7