{ "id":"/axapi/v3/gslb/dns", "type":"object", "node-type":"scalar", "title":"dns", "partition-visibility":"shared", "auto-created-object":1, "description":"DNS Global Options", "properties":{ "action":{ "type":"string", "format":"enum", "default":"none", "partition-visibility":"shared", "description":"'none': No action (default); 'drop': Drop query; 'reject': Send refuse response; 'ignore': Send empty response; ", "enum":[ "none", "drop", "reject", "ignore" ], "optional":true }, "logging":{ "type":"string", "format":"enum", "default":"none", "partition-visibility":"shared", "description":"'none': No logging (default); 'query': DNS Query; 'response': DNS Response; 'both': Both DNS Query and Response; ", "enum":[ "none", "query", "response", "both" ], "optional":true }, "template":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "$ref":"/axapi/v3/slb/template/logging", "description":"Logging template (Logging Template Name)", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'total-query': Total number of DNS queries received; 'total-response': Total number of DNS replies sent to clients; 'bad-packet-query': Number of queries with incorrect data length; 'bad-packet-response': Number of replies with incorrect data length; 'bad-header-query': Number of queries with incorrect header; 'bad-header-response': Number of replies with incorrect header; 'bad-format-query': Number of queries with incorrect format; 'bad-format-response': Number of replies with incorrect format; 'bad-service-query': Number of queries with unknown service; 'bad-service-response': Number of replies with unknown service; 'bad-class-query': Number of queries with incorrect class; 'bad-class-response': Number of replies with incorrect class; 'bad-type-query': Number of queries with incorrect type; 'bad-type-response': Number of replies with incorrect type; 'no_answer': Number of replies with unknown server IP; 'metric_health_check': Metric Health Check Hit; 'metric_weighted_ip': Metric Weighted IP Hit; 'metric_weighted_site': Metric Weighted Site Hit; 'metric_capacity': Metric Capacity Hit; 'metric_active_server': Metric Active Server Hit; 'metric_easy_rdt': Metric Easy RDT Hit; 'metric_active_rdt': Metric Active RDT Hit; 'metric_geographic': Metric Geographic Hit; 'metric_connection_load': Metric Connection Load Hit; 'metric_number_of_sessions': Metric Number of Sessions Hit; 'metric_active_weight': Metric Active Weight Hit; 'metric_admin_preference': Metric Admin Preference Hit; 'metric_bandwidth_quality': Metric Bandwidth Quality Hit; 'metric_bandwidth_cost': Metric Bandwidth Cost Hit; 'metric_user': Metric User Hit; 'metric_least_reponse': Metric Least Reponse Hit; 'metric_admin_ip': Metric Admin IP Hit; 'metric_round_robin': Metric Round Robin Hit; ", "enum":[ "all", "total-query", "total-response", "bad-packet-query", "bad-packet-response", "bad-header-query", "bad-header-response", "bad-format-query", "bad-format-response", "bad-service-query", "bad-service-response", "bad-class-query", "bad-class-response", "bad-type-query", "bad-type-response", "no_answer", "metric_health_check", "metric_weighted_ip", "metric_weighted_site", "metric_capacity", "metric_active_server", "metric_easy_rdt", "metric_active_rdt", "metric_geographic", "metric_connection_load", "metric_number_of_sessions", "metric_active_weight", "metric_admin_preference", "metric_bandwidth_quality", "metric_bandwidth_cost", "metric_user", "metric_least_reponse", "metric_admin_ip", "metric_round_robin" ] } } } ] } } }