ddos dns-cache

DNS Cache Settings

dns-cache Specification

Type

Collection

Object Key(s)

name

Collection Name

dns-cache-list

Collection URI

/axapi/v3/ddos/dns-cache

Element Name

dns-cache

Element URI

/axapi/v3/ddos/dns-cache/{name}

Element Attributes

dns-cache_attributes

Statistics Data URI

/axapi/v3/ddos/dns-cache/{name}/stats

Operational Data URI

/axapi/v3/ddos/dns-cache/{name}/oper

Schema

dns-cache schema

Operations Allowed:

OperationMethodURIPayload

Create Object

POST

/axapi/v3/ddos/dns-cache

dns-cache attributes

Create List

POST

/axapi/v3/ddos/dns-cache

dns-cache attributes

Get Object

GET

/axapi/v3/ddos/dns-cache/{name}

dns-cache attributes

Get List

GET

/axapi/v3/ddos/dns-cache

dns-cache-list

Modify Object

POST

/axapi/v3/ddos/dns-cache/{name}

dns-cache attributes

Replace Object

PUT

/axapi/v3/ddos/dns-cache/{name}

dns-cache attributes

Replace List

PUT

/axapi/v3/ddos/dns-cache

dns-cache-list

Delete Object

DELETE

/axapi/v3/ddos/dns-cache/{name}

dns-cache attributes

dns-cache-list

dns-cache-list is JSON List of dns-cache attributes

dns-cache-list : [

dns-cache attributes

any-query-action-str

Description ‘respond-refuse’: Send refuse response (default); ‘respond-empty’: Send empty response; ‘drop’: Drop the request;

Type: string

Supported Values: respond-refuse, respond-empty, drop

Default: respond-refuse

default-serving-action

Description ‘serve-from-cache’: Serve DNS records; ‘forward’: Forward to DNS server; ‘drop’: Drop the request;

Type: string

Supported Values: serve-from-cache, forward, drop

Default: serve-from-cache

domain-group

Description: domain-group is a JSON Block. Please see below for domain-group

Type: Object

Refernce Object: /axapi/v3/ddos/dns-cache/{name}/domain-group

fqdn-manual-override-action-list

name

Description DNS Cache Instance Name

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

neg-cache-action-follow-q-rate

Description Negative cached response queries counted toward query-rate-threshold

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

non-authoritative-zone-query-action-str

Description ‘default’: Default action: respond-refuse; ‘forward’: Forward to DNS server; ‘respond-refuse’: Send refuse response; ‘drop’: Drop the request;

Type: string

Supported Values: default, forward, respond-refuse, drop

Default: respond-refuse

sharded-domain-group-list

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

zone-domain-lookup-miss-action

Description ‘respond-nxdomain’: Send NxDomain response; ‘drop’: Drop the request;

Type: string

Supported Values: respond-nxdomain, drop

Default: respond-nxdomain

zone-manual-override-action-list

zone-transfer

Description: zone-transfer is a JSON Block. Please see below for zone-transfer

Type: Object

Refernce Object: /axapi/v3/ddos/dns-cache/{name}/zone-transfer

domain-group

Specification

Type

object

domain-list-policy-list

name

Description DNS domain group

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

domain-group_domain-list-policy-list

Specification

Type

list

Block object keys

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

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

fqdn-manual-override-action-list

Specification

Type

list

Block object keys

action

Description ‘default’: Default; ‘forward’: Forward to DNS server; ‘drop’: Drop the request; ‘serve-from-cache’: Serve DNS records;

Type: string

Supported Values: default, forward, drop, serve-from-cache

fqdn-name

Description Specify fqdn name

Type: string

Format: string-rlx

Maximum Length: 253 characters

Maximum Length: 1 characters

zone-transfer

Specification

Type

object

uuid

Description uuid of the object

Type: string

Maximum Length: 64 characters

Maximum Length: 1 characters

zone-manual-override-action-list

Specification

Type

list

Block object keys

action

Description ‘default’: Default; ‘forward’: Forward to DNS server; ‘drop’: Drop the request; ‘serve-from-cache’: Serve DNS records;

Type: string

Supported Values: default, forward, drop, serve-from-cache

zone-name

Description Specify zone name

Type: string

Format: string-rlx

Maximum Length: 253 characters

Maximum Length: 1 characters

sharded-domain-group-list

Specification

Type

list

Block object keys

encap-template

Description DDOS encap template to sepcify the tunnel endpoint

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

match-action

Description ‘forward’: Forward query to server (default); ‘tunnel-encap’: Encapsulate the query and send on a tunnel;

Type: string

Supported Values: forward, tunnel-encap

Default: forward

name

Description DNS sharded domain group

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

sharded-domain-list-policy-list

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

sharded-domain-group-list_sharded-domain-list-policy-list

Specification

Type

list

Block object keys

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 sharded domain list policy

Type: string

Format: string-rlx

Maximum Length: 63 characters

Maximum Length: 1 characters

refresh-interval-hours

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

Type: number

Range: 0-24

Default: 4

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

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

stats data

Counter

Size

Description

fqdn-aaaa

8

fqdn-aaaa

fqdn-a

8

fqdn-a

fqdn-delegation

8

fqdn-delegation

fqdn-mx

8

fqdn-mx

total-cached-fqdn

8

total-cached-fqdn

fqdn-srv

8

fqdn-srv

fqdn-ns

8

fqdn-ns

shard-size

8

shard-size

fqdn-cname

8

fqdn-cname

fqdn-txt

8

fqdn-txt

fqdn-wildcard

8

fqdn-wildcard

total-cached-records

8

total-cached-records

resp-ext-size

8

resp-ext-size

fqdn-other

8

fqdn-other

fqdn-ptr

8

fqdn-ptr

fqdn-soa

8

fqdn-soa

operational data

Counter

Size

Description

domain-entries

domain-entries

record-type

string

record-type

answer-section-size

number

Answer section size

authoritative-section

authoritative-section

additional-section

additional-section

additional-section-record-count

number

Additional section record Count

answer-section

answer-section

response-flag

string

response flag

additional-section-size

number

Additional section size

debug-mode

flag

debug-mode

all-cached-fqdn

flag

all-cached-fqdn

authority-section-record-count

number

Authority section record Count

response-status

string

response status

authority-section-size

number

Autority section size

cached-fqdn-name

string-rlx

cached-fqdn-name

answer-section-record-count

number

Answer section record Count