-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.example.toml
112 lines (91 loc) · 3.24 KB
/
config.example.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
# Copyright 2021 Adam Chalkley
#
# https://github.com/atc0005/dnsc
#
# Licensed under the MIT License. See LICENSE file in the project root for
# full license information.
# Multi-line array
# https://github.com/toml-lang/toml#user-content-array
dns_servers = [
# https://developers.google.com/speed/public-dns
"8.8.8.8",
"8.8.4.4",
# https://www.opendns.com/setupguide/
"208.67.222.222",
"208.67.220.220",
# https://blog.cloudflare.com/announcing-1111/
# https://blog.cloudflare.com/introducing-1-1-1-1-for-families/
# Original
"1.1.1.1",
# (No Malware)
"1.1.1.2",
# (No Malware or Adult Content)
"1.1.1.3",
]
# The DNS query types that will be used when submitting DNS queries. Each type
# listed here will be requested for each user-provided query, so if four types
# are listed and there are five DNS server entries, there will be twenty DNS
# queries submitted total.
dns_query_types = [
"A",
"AAAA",
"MX",
# This type is not commonly requested, so commented out by default.
# Submitting a query of this type returns all available nameservers for
# the requested domain.
#
# "NS",
"CNAME",
# This type expects the query string to be in IP Address format, which is
# likely to not be the case if searching other record types.
#
# "PTR",
# This type expects the query string to be in a very specific format,
# which is likely to not be the case if searching other record types.
# "SRV",
]
# The DNS Service Location (SRV) protocols that will be used when submitting
# DNS queries for SRV records. Each SRV protocol listed here will be requested
# for each user-provided SRV query (e.g., "example.com"), so if five types are
# listed and there are five DNS server entries, there will be twenty five
# queries submitted in total.
dns_srv_protocols = [
"msdcs",
"kerberos",
"xmppsrv",
"xmppclient",
"sip",
]
# Whether DNS-related errors should force this application to immediately exit.
dns_errors_fatal = false
# https://godoc.org/github.com/apex/log#Level
#
# `fatal` is used for errors that should definitely be noted.
# `error` is for errors that should definitely be noted.
# `warn` is for non-critical entries that deserve eyes.
# `info` is for general application operational entries.
# `debug` is for debug-level messages and is usually enabled when debugging.
log_level = "debug"
# apex/log Handlers
# ---------------------------------------------------------
# cli - human-friendly CLI output
# discard - discards all logs
# json - JSON output handler
# logfmt - logfmt plain-text formatter
# text - human-friendly colored output
log_format = "cli"
# Specifying a static/hard-coded query here is not enabled by default, but
# could prove useful in some situations.
# query = "www.yahoo.com"
# Maximum number of seconds allowed for a DNS query to take before timing out.
# timeout = 10
# Specifies whether the results summary is composed of a single
# comma-separated line of records for a query, or whether the records are
# returned one per line.
#
# single-line
# multi-line
results_output = "multi-line"
# Specifies whether the date/time that results are generated should be omitted
# from the results output.
omit_timestamp = false