ddos dns-cache domain-group domain-list-policy

DNS Cache Settings

domain-list-policy Specification

Parameter Value
Type Collection
Object Key(s) name
Collection Name domain-list-policy-list
Collection URI /axapi/v3/ddos/dns-cache/{name}/domain-group/domain-list-policy
Element Name domain-list-policy
Element URI /axapi/v3/ddos/dns-cache/{name}/domain-group/domain-list-policy/{name}
Element Attributes domain-list-policy_attributes
Partition Visibility shared
Schema domain-list-policy schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/ddos/dns-cache/{name}/domain-group/domain-list-policy

domain-list-policy attributes

Create List

POST

/axapi/v3/ddos/dns-cache/{name}/domain-group/domain-list-policy

domain-list-policy attributes

Get Object

GET

/axapi/v3/ddos/dns-cache/{name}/domain-group/domain-list-policy/{name}

domain-list-policy attributes

Get List

GET

/axapi/v3/ddos/dns-cache/{name}/domain-group/domain-list-policy

domain-list-policy-list

Modify Object

POST

/axapi/v3/ddos/dns-cache/{name}/domain-group/domain-list-policy/{name}

domain-list-policy attributes

Replace Object

PUT

/axapi/v3/ddos/dns-cache/{name}/domain-group/domain-list-policy/{name}

domain-list-policy attributes

Replace List

PUT

/axapi/v3/ddos/dns-cache/{name}/domain-group/domain-list-policy

domain-list-policy-list

Delete Object

DELETE

/axapi/v3/ddos/dns-cache/{name}/domain-group/domain-list-policy/{name}

domain-list-policy attributes

domain-list-policy-list

domain-list-policy-list is JSON List of domain-list-policy attributes

domain-list-policy-list : [

domain-list-policy attributes

cache-all-records

Description cache all fqdn records including uncommon types

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

client-ipv4

Description Client ipv4 address

Type: string

Format: ipv4-address

client-ipv6

Description Client ipv6 address

Type: string

Format: ipv6-address

force

Description Force update even the serial is the same

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

manual-refresh

Description Manually refresh the particular zone

Type: string

Format: string-rlx

Maximum Length: 253 characters

Maximum Length: 1 characters

name

Description DNS domain list policy

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

oversize-answer-response

Description ‘set-truncate-bit’: Set the TC bit for oversize answer(default); ‘disable-truncate-bit’: Do not set TC bit for oversize answer;

Type: string

Supported Values: set-truncate-bit, disable-truncate-bit

Default: set-truncate-bit

packet-capturing

Description: packet-capturing is a JSON Block. Please see below for packet-capturing

Type: Object

Reference Object: /axapi/v3/ddos/dns-cache/{name}/domain-group/domain-list-policy/{name}/packet-capturing

refresh-interval-hours

Description Zone transfer refresh rate in hours (Default 4). 0 means no refresh

Type: number

Range: 0-24

Default: 4

resolve-cname-record

Description Always try to resolve domain in CNAME record answer section

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

respond-with-authority

Description Respond with authority section for all requests under this list

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

server-ipv4

Description Master ipv4 address

Type: string

Format: ipv4-address

server-ipv6

Description Master ipv6 address

Type: string

Format: ipv6-address

server-v4-port

Description Port number (default 53)

Type: number

Range: 1-65535

Default: 53

server-v6-port

Description Port number (default 53)

Type: number

Range: 1-65535

Default: 53

ttl-override

Description Override the TTL value for zone transfer

Type: number

Range: 1-2147483647

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

packet-capturing

Specification Value
Type object

root-zone-list

Type: List

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

packet-capturing_root-zone-list

Specification Value
Type list
Block object keys  

capture-config

Description Capture-config name

Type: string

Format: string-rlx

Maximum Length: 128 characters

Maximum Length: 1 characters

Reference Object: /axapi/v3/capture-config

capture-mode

Description ‘regular’: Capture packet anyway; ‘capture-on-failure’: Capture packet if last XFR was failed;

Type: string

Supported Values: regular, capture-on-failure

root-zone

Description Specify root zone to be captured

Type: string

Format: string-rlx

Maximum Length: 253 characters

Maximum Length: 1 characters