gslb dns¶
DNS Global Options
dns Specification¶
Type Configuration Resource Element Name dns Element URI /axapi/v3/gslb/dns Element Attributes dns_attributes Statistics Data URI /axapi/v3/gslb/dns/stats Schema dns schemaOperations Allowed:
| Operation | Method | URI | Payload | |
|---|---|---|---|---|
Create Object | POST | /axapi/v3/gslb/dns | ||
Get Object | GET | /axapi/v3/gslb/dns | ||
Modify Object | POST | /axapi/v3/gslb/dns | ||
Replace Object | PUT | /axapi/v3/gslb/dns | ||
Delete Object | DELETE | /axapi/v3/gslb/dns | ||
dns attributes¶
action
Description ‘none’: No action (default); ‘drop’: Drop query; ‘reject’: Send refuse response; ‘ignore’: Send empty response;
Type: string
Supported Values: none, drop, reject, ignore
Default: none
logging
Description ‘none’: No logging (default); ‘query’: DNS Query; ‘response’: DNS Response; ‘both’: Both DNS Query and Response;
Type: string
Supported Values: none, query, response, both
Default: none
sampling-enable
Type: Listuuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters
sampling-enable¶
Specification Type list Block object keys counters1
Description ‘all’: all; ‘total-query’: Total number of DNS queries received; ‘total-response’: Total number of DNS replies sent to clients; ‘bad-packet-query’: Number of queries with incorrect data length; ‘bad-packet-response’: Number of replies with incorrect data length; ‘bad-header-query’: Number of queries with incorrect header; ‘bad-header-response’: Number of replies with incorrect header; ‘bad-format-query’: Number of queries with incorrect format; ‘bad-format-response’: Number of replies with incorrect format; ‘bad-service-query’: Number of queries with unknown service; ‘bad-service-response’: Number of replies with unknown service; ‘bad-class-query’: Number of queries with incorrect class; ‘bad-class-response’: Number of replies with incorrect class; ‘bad-type-query’: Number of queries with incorrect type; ‘bad-type-response’: Number of replies with incorrect type; ‘no_answer’: Number of replies with unknown server IP;
Type: string
Supported Values: all, total-query, total-response, bad-packet-query, bad-packet-response, bad-header-query, bad-header-response, bad-format-query, bad-format-response, bad-service-query, bad-service-response, bad-class-query, bad-class-response, bad-type-query, bad-type-response, no_answer
stats data¶
| Counter | Size | Description | |
|---|---|---|---|
| bad-header-query | 8 | Number of queries with incorrect header | |
| total-response | 8 | Total number of DNS replies sent to clients | |
| bad-service-response | 8 | Number of replies with unknown service | |
| bad-service-query | 8 | Number of queries with unknown service | |
| bad-format-query | 8 | Number of queries with incorrect format | |
| bad-packet-query | 8 | Number of queries with incorrect data length | |
| total-query | 8 | Total number of DNS queries received | |
| no_answer | 8 | Number of replies with unknown server IP | |
| bad-class-query | 8 | Number of queries with incorrect class | |
| bad-type-query | 8 | Number of queries with incorrect type | |
| bad-packet-response | 8 | Number of replies with incorrect data length | |
| bad-class-response | 8 | Number of replies with incorrect class | |
| bad-format-response | 8 | Number of replies with incorrect format | |
| bad-type-response | 8 | Number of replies with incorrect type | |
| bad-header-response | 8 | Number of replies with incorrect header |