slb template dns negative-dns-cache¶
setting the nagative dns cache
negative-dns-cache Specification¶
Parameter Value Type Configuration Resource Element Name negative-dns-cache Element URI /axapi/v3/slb/template/dns/{name}/negative-dns-cache Element Attributes negative-dns-cache_attributes Partition Visibility shared Schema negative-dns-cache schema
Operations Allowed:
Operation | Method | URI | Payload | |
---|---|---|---|---|
Create Object | POST | /axapi/v3/slb/template/dns/{name}/negative-dns-cache | ||
Get Object | GET | /axapi/v3/slb/template/dns/{name}/negative-dns-cache | ||
Modify Object | POST | /axapi/v3/slb/template/dns/{name}/negative-dns-cache | ||
Replace Object | PUT | /axapi/v3/slb/template/dns/{name}/negative-dns-cache | ||
Delete Object | DELETE | /axapi/v3/slb/template/dns/{name}/negative-dns-cache |
negative-dns-cache attributes¶
bypass-query-threshold
Description the threshold bypass the query, default is 100
Type: number
Range: 1-65535
Default: 100
enable-negative-dns-cache
Description Enable DNS negative cache (Need to turn-on the dns-cache for this feature)
Type: boolean
Supported Values: true, false, 1, 0
Default: 0
max-negative-cache-ttl
Description Max negative cache ttl, default is 2 hours
Type: number
Range: 0-604800
Default: 7200
uuid
Description uuid of the object
Type: string
Maximum Length: 64 characters
Maximum Length: 1 characters