slb dns-cache

DNS Cache Statistics

dns-cache Specification

Type Configuration Resource
Element Name dns-cache
Element URI /axapi/v3/slb/dns-cache
Element Attributes dns-cache_attributes
Statistics Data URI /axapi/v3/slb/dns-cache/stats
Schema dns-cache schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/slb/dns-cache

dns-cache Attributes

Get Object

GET

/axapi/v3/slb/dns-cache

dns-cache Attributes

Modify Object

POST

/axapi/v3/slb/dns-cache

dns-cache Attributes

Replace Object

PUT

/axapi/v3/slb/dns-cache

dns-cache Attributes

Delete Object

DELETE

/axapi/v3/slb/dns-cache

dns-cache Attributes

Get Stats

GET

/axapi/v3/slb/dns-cache/stats

stats data

dns-cache Attributes

sampling-enable

Description: sampling-enable is a JSON List . Please see below for sampling-enable

Type: List

uuid

Description: uuid of the object

Type: string

sampling-enable

Specification
Type list
Block object keys

counters1

Description: ‘all’: all; ‘total_q’: Total query; ‘total_r’: Total server response; ‘hit’: Total cache hit; ‘bad_q’: Query not passed; ‘encode_q’: Query encoded; ‘multiple_q’: Query with multiple questions; ‘oversize_q’: Query exceed cache size; ‘bad_r’: Response not passed; ‘oversize_r’: Response exceed cache size; ‘encode_r’: Response encoded; ‘multiple_r’: Response with multiple questions; ‘answer_r’: Response with multiple answers; ‘ttl_r’: Response with short TTL; ‘ageout’: Total aged out; ‘bad_answer’: Bad Answer; ‘ageout_weight’: Total aged for lower weight; ‘total_log’: Total stats log sent; ‘total_alloc’: Total allocated; ‘total_freed’: Total freed; ‘current_allocate’: Current allocate; ‘current_data_allocate’: Current data allocate;

Type: string

Supported Values: all, total_q, total_r, hit, bad_q, encode_q, multiple_q, oversize_q, bad_r, oversize_r, encode_r, multiple_r, answer_r, ttl_r, ageout, bad_answer, ageout_weight, total_log, total_alloc, total_freed, current_allocate, current_data_allocate

stats data

Counter Size Description
hit 2 Total cache hit
ageout_weight 2 Total aged for lower weight
answer_r 2 Response with multiple answers
multiple_r 2 Response with multiple questions
multiple_q 2 Query with multiple questions
total_alloc 2 Total allocated
current_allocate 8 Current allocate
bad_q 2 Query not passed
bad_answer 2 Bad Answer
total_freed 2 Total freed
bad_r 2 Response not passed
encode_r 2 Response encoded
encode_q 2 Query encoded
ageout 2 Total aged out
total_q 2 Total query
total_r 2 Total server response
total_log 2 Total stats log sent
oversize_r 2 Response exceed cache size
current_data_allocate 8 Current data allocate
ttl_r 2 Response with short TTL
oversize_q 2 Query exceed cache size