summaryrefslogtreecommitdiff
path: root/bin/dns_decoder.toml
diff options
context:
space:
mode:
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"