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

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

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

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  

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: 255 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

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;

Type: string

Supported Values: default, forward, drop

fqdn-name

Description Specify fqdn name

Type: string

Format: string-rlx

Maximum Length: 255 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
  total-cached-fqdn 8 total-cached-fqdn
  fqdn-wildcard 8 fqdn-wildcard
  fqdn-ns 8 fqdn-ns
  fqdn-cname 8 fqdn-cname
  total-cached-records 8 total-cached-records
  fqdn-nx 8 fqdn-nx
  fqdn-soa 8 fqdn-soa

operational data

  Counter Size Description
       
  domain-entries   domain-entries
  cached-fqdn-name string-rlx cached-fqdn-name
  authoritative-section   authoritative-section
  answer-section   answer-section
  all-cached-fqdn flag all-cached-fqdn
  response-flag string response flag
  response-status string response status
  record-type string record-type
  additional-section   additional-section