.. _gslb_dns: 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** :download:`dns schema ` ===================================== ================================================= **Operations Allowed:** .. 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/gslb/dns .. raw:: html :ref:`1678_dns_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/gslb/dns .. raw:: html :ref:`1678_dns_attributes` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/gslb/dns .. raw:: html :ref:`1678_dns_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/gslb/dns .. raw:: html :ref:`1678_dns_attributes` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/gslb/dns .. raw:: html :ref:`1678_dns_attributes` .. raw:: html
.. _1678_dns_attributes: 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 **template** **Description** Logging template (Logging Template Name) **Type:** string **Format:** string-rlx **Maximum Length:** 127 characters **Maximum Length:** 1 characters **Refernce Object:** :doc:`/axapi/v3/slb/template/logging ` **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _1678_stats_data: stats data ---------- .. list-table:: :widths: 10 20 30 80 :header-rows: 2 :stub-columns: 1 * - - Counter - Size - Description * - - - - * - - metric_capacity - 8 - Metric Capacity Hit * - - metric_admin_ip - 8 - Metric Admin IP Hit * - - no_answer - 8 - Number of replies with unknown server IP * - - bad-format-query - 8 - Number of queries with incorrect format * - - metric_active_server - 8 - Metric Active Server Hit * - - metric_active_rdt - 8 - Metric Active RDT Hit * - - metric_connection_load - 8 - Metric Connection Load Hit * - - bad-service-response - 8 - Number of replies with unknown service * - - metric_user - 8 - Metric User Hit * - - bad-packet-query - 8 - Number of queries with incorrect data length * - - total-query - 8 - Total number of DNS queries received * - - metric_bandwidth_cost - 8 - Metric Bandwidth Cost Hit * - - bad-class-query - 8 - Number of queries with incorrect class * - - metric_bandwidth_quality - 8 - Metric Bandwidth Quality Hit * - - bad-service-query - 8 - Number of queries with unknown service * - - bad-header-response - 8 - Number of replies with incorrect header * - - metric_least_reponse - 8 - Metric Least Reponse Hit * - - metric_weighted_site - 8 - Metric Weighted Site Hit * - - total-response - 8 - Total number of DNS replies sent to clients * - - metric_health_check - 8 - Metric Health Check Hit * - - metric_round_robin - 8 - Metric Round Robin Hit * - - metric_easy_rdt - 8 - Metric Easy RDT Hit * - - bad-type-query - 8 - Number of queries with incorrect type * - - bad-packet-response - 8 - Number of replies with incorrect data length * - - metric_weighted_ip - 8 - Metric Weighted IP Hit * - - bad-class-response - 8 - Number of replies with incorrect class * - - bad-format-response - 8 - Number of replies with incorrect format * - - metric_geographic - 8 - Metric Geographic Hit * - - bad-header-query - 8 - Number of queries with incorrect header * - - metric_active_weight - 8 - Metric Active Weight Hit * - - metric_admin_preference - 8 - Metric Admin Preference Hit * - - metric_number_of_sessions - 8 - Metric Number of Sessions Hit * - - bad-type-response - 8 - Number of replies with incorrect type