.. _slb_template_dns_category_lookup: slb template dns category-lookup ================================ Configure web-category list for DNS domains matching (Up to 8 lists) category-lookup Specification ----------------------------- ===================================== ================================================================================================ **Parameter** **Value** ===================================== ================================================================================================ **Type** *Collection* **Object Key(s)** *category-name* **Collection Name** :ref:`3048_category-lookup_list` **Collection URI** /axapi/v3/slb/template/dns/{name}/category-lookup **Element Name** category-lookup **Element URI** /axapi/v3/slb/template/dns/{name}/category-lookup/{category-name} **Element Attributes** category-lookup_attributes **Partition Visibility** shared **Schema** :download:`category-lookup schema ` ===================================== ================================================================================================ **Operations Allowed:** .. raw:: html .. raw:: html .. 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}/category-lookup .. raw:: html :ref:`3048_category-lookup_attributes` .. raw:: html
Create List .. raw:: html POST .. raw:: html /axapi/v3/slb/template/dns/{name}/category-lookup .. raw:: html :ref:`3048_category-lookup_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/slb/template/dns/{name}/category-lookup/{category-name} .. raw:: html :ref:`3048_category-lookup_attributes` .. raw:: html
Get List .. raw:: html GET .. raw:: html /axapi/v3/slb/template/dns/{name}/category-lookup .. raw:: html :ref:`3048_category-lookup_list` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/slb/template/dns/{name}/category-lookup/{category-name} .. raw:: html :ref:`3048_category-lookup_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/slb/template/dns/{name}/category-lookup/{category-name} .. raw:: html :ref:`3048_category-lookup_attributes` .. raw:: html
Replace List .. raw:: html PUT .. raw:: html /axapi/v3/slb/template/dns/{name}/category-lookup .. raw:: html :ref:`3048_category-lookup_list` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/slb/template/dns/{name}/category-lookup/{category-name} .. raw:: html :ref:`3048_category-lookup_attributes` .. raw:: html
.. _3048_category-lookup_list: category-lookup-list -------------------- category-lookup-list is **JSON List** of :ref:`3048_category-lookup_attributes` category-lookup-list : [ { :ref:`3048_category-lookup_attributes` }, { :ref:`3048_category-lookup_attributes` }, ... ] .. _3048_category-lookup_attributes: category-lookup attributes -------------------------- **category-name** **Description** category-list name **Type:** string **Format:** string-rlx **Maximum Length:** 63 characters **Maximum Length:** 1 characters **Reference Object:** :doc:`/axapi/v3/web-category/category-list ` **drop** **Description** Deny matching DNS domains **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **Mutual Exclusion:** drop,permit, respond, respond-nxdomain, respond-ip-addr, respond-ipv6-addr, and respond-cname-str are mutually exclusive **permit** **Description** Permit matching DNS domains **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **Mutual Exclusion:** permit,drop, respond, respond-nxdomain, respond-ip-addr, respond-ipv6-addr, and respond-cname-str are mutually exclusive **respond** **Description** Respond to matching DNS domains **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **Mutual Exclusion:** respond, permit, and drop are mutually exclusive **respond-cname-str** **Description** CNAME to respond (Canonical name) **Type:** string **Maximum Length:** 256 characters **Maximum Length:** 1 characters **Mutual Exclusion:** respond-cname-str,permit, drop, and respond-nxdomain are mutually exclusive **respond-ip-addr** **Description** Type A record to respond (IPv4 address) **Type:** string **Format:** ipv4-address **Mutual Exclusion:** respond-ip-addr,permit, drop, and respond-nxdomain are mutually exclusive **respond-ipv6-addr** **Description** TYPE AAAA record to respond (IPv6 address) **Type:** string **Format:** ipv6-address **Mutual Exclusion:** respond-ipv6-addr,permit, drop, and respond-nxdomain are mutually exclusive **respond-nxdomain** **Description** Respond with NXDOMAIN **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **Mutual Exclusion:** respond-nxdomain,permit, drop, respond-ip-addr, respond-ipv6-addr, and respond-cname-str are mutually exclusive **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters