slb template dns-logging¶
DNS Logging template
dns-logging Specification¶
Type
Collection
Object Key(s)
name
Collection Name
Collection URI
/axapi/v3/slb/template/dns-logging
Element Name
dns-logging
Element URI
/axapi/v3/slb/template/dns-logging/{name}
Element Attributes
dns-logging_attributes
Schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/slb/template/dns-logging | ||
Create List | POST | /axapi/v3/slb/template/dns-logging | ||
Get Object | GET | /axapi/v3/slb/template/dns-logging/{name} | ||
Get List | GET | /axapi/v3/slb/template/dns-logging | ||
Modify Object | POST | /axapi/v3/slb/template/dns-logging/{name} | ||
Replace Object | PUT | /axapi/v3/slb/template/dns-logging/{name} | ||
Replace List | PUT | /axapi/v3/slb/template/dns-logging | ||
Delete Object | DELETE | /axapi/v3/slb/template/dns-logging/{name} |
dns-logging-list¶
dns-logging-list is JSON List of dns-logging attributes
dns-logging-list : [
]
dns-logging attributes¶
disable
Description Disable DNS Logging template
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
dns-logging-protocol
Description ‘both’: Log DNS over tcp and udp; ‘tcp’: Log DNS over tcp; ‘udp’: Log DNS over udp;
Type: string
Supported Values: both, tcp, udp
dns-logging-request-section
Description ‘all’: Log DNS header and question section; ‘header’: Log DNS header information; ‘question’: Log DNS question section;
Type: string
Supported Values: all, header, question
dns-logging-response-section
Description ‘all’: Log DNS header information, answer, authority, additional section content; ‘header’: Log DNS header information; ‘answer’: Log DNS header information and answer section content;
Type: string
Supported Values: all, header, answer
dns-logging-type
Description ‘query’: DNS Query Logging; ‘response’: DNS Response Logging; ‘both’: DNS Query and Response Logging;
Type: string
Supported Values: query, response, both
name
Description DNS Logging Template Name
Type: string
Format: string-rlx
Maximum Length: 127 characters
Maximum Length: 1 characters
response-type-config
Description: response-type-config is a JSON Block. Please see below for response-type-config
Type: Object
Refernce Object: /axapi/v3/slb/template/dns-logging/{name}/response-type-config
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
response-type-config¶
Specification
Type
object
type-list
Type: List
Refernce Object: /axapi/v3/slb/template/dns-logging/{name}/response-type-config/type/{response-type-name}
response-type-config_type-list¶
Specification
Type
list
Block object keys
digest
Description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
length-limit-flag
Description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
other-data
Description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
public-key
Description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
rdata-field
Description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
response-type-name
Description ‘TXT’: TXT; ‘RRSIG’: RRSIG; ‘TSIG’: TSIG; ‘DNSKEY’: DNSKEY; ‘DS’: DS; ‘CAA’: CAA; ‘NAPTR’: NAPTR; ‘OPT’: OPT;
Type: string
Supported Values: TXT, RRSIG, TSIG, DNSKEY, DS, CAA, NAPTR, OPT
service-field
Description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
signature
Description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
txt-data
Description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
type-limit-num
Description Limit the field length
Type: number
Range: 0-256
Default: 0
Mutual Exclusion: type-limit-num and type-no-limit are mutually exclusive
type-no-limit
Description Print the field as much as possible
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
Mutual Exclusion: type-no-limit and type-limit-num are mutually exclusive
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
value-field
Description
Type: boolean
Supported Values: true, false, 1, 0
Default: 0