summaryrefslogtreecommitdiff
path: root/bin/dns_decoder.toml
diff options
context:
space:
mode:
author刘学利 <[email protected]>2024-06-12 03:40:41 +0000
committer刘学利 <[email protected]>2024-06-12 03:40:41 +0000
commitb7d504620edb2a24b899fe85caa84c28a3ad8564 (patch)
treec75cd2978ba7ddf49f02f9e36e4b1a427ceb4946 /bin/dns_decoder.toml
parent478696610e58d1f38b3491c4f3f8a9f9518383b3 (diff)
DNS Decoder create version
Diffstat (limited to 'bin/dns_decoder.toml')
-rw-r--r--bin/dns_decoder.toml14
1 files changed, 14 insertions, 0 deletions
diff --git a/bin/dns_decoder.toml b/bin/dns_decoder.toml
new file mode 100644
index 0000000..fb60d1b
--- /dev/null
+++ b/bin/dns_decoder.toml
@@ -0,0 +1,14 @@
+[decoder]
+[decoder.dns]
+port=[53,5353]
+
+[decoder.dns.limited]
+max_rr_num=256
+max_cache_trans_num=16
+
+[decoder.dns.local_stat]
+# stat_per_thread_enable value in [yes,no]
+stat_per_thread_enable="no"
+stat_name="DNS_DECODER"
+stat_interval_time_s=5
+stat_output="metrics/dns_decoder_local_stat.json"