.. _slb_template_dns_negative_dns_cache: 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** :download:`negative-dns-cache schema ` ===================================== =================================================================================== **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/slb/template/dns/{name}/negative-dns-cache .. raw:: html :ref:`2929_negative-dns-cache_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/slb/template/dns/{name}/negative-dns-cache .. raw:: html :ref:`2929_negative-dns-cache_attributes` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/slb/template/dns/{name}/negative-dns-cache .. raw:: html :ref:`2929_negative-dns-cache_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/slb/template/dns/{name}/negative-dns-cache .. raw:: html :ref:`2929_negative-dns-cache_attributes` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/slb/template/dns/{name}/negative-dns-cache .. raw:: html :ref:`2929_negative-dns-cache_attributes` .. raw:: html
.. _2929_negative-dns-cache_attributes: 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