@cryptotaxi247 / netdata-1 / commits / 87a8478a3

Regenerate integrations docs (#19563)

Co-authored-by: ilyam8 <22274335+ilyam8@users.noreply.github.com>

Netdata bot committed Feb 3, 2025 at 07:04 UTC 87a8478a389a1b2ff4cb0af34e68555f28ce1802
1 file changed +23 -3
src/go/plugin/go.d/collector/dnsquery/integrations/dns_query.md
+23 -3
@@ -117,7 +117,7 @@ The following options can be defined globally: update_every, autodetection_retry
117 | update_every | Data collection frequency. | 1 | no |
118 | autodetection_retry | Recheck interval in seconds. Zero means no recheck will be scheduled. | 0 | no |
119 | domains | Domain or subdomains to query. The collector will choose a random domain from the list on every iteration. | | yes |
120 -| servers | Servers to query. | | yes |
120 +| servers | Servers to query. If empty, the collector will automatically use DNS servers from `/etc/resolv.conf`. | | no |
121 | port | DNS server port. | 53 | no |
122 | network | Network protocol name. Available options: udp, tcp, tcp-tls. | udp | no |
123 | record_types | Query record type. Available options: A, AAAA, CNAME, MX, NS, PTR, TXT, SOA, SPF, TXT, SRV. | A | no |
@@ -127,9 +127,9 @@ The following options can be defined globally: update_every, autodetection_retry
127
128 #### Examples
129
130 -##### Basic
130 +##### Specific DNS servers
131
132 -An example configuration.
132 +An example configuration using Google's public DNS servers.
133
134 <details open><summary>Config</summary>
135
@@ -150,6 +150,26 @@ jobs:
150 ```
151 </details>
152
153 +##### System DNS
154 +
155 +An example configuration using DNS servers from `/etc/resolv.conf`.
156 +
157 +<details open><summary>Config</summary>
158 +
159 +```yaml
160 +jobs:
161 + - name: job1
162 + record_types:
163 + - A
164 + - AAAA
165 + domains:
166 + - google.com
167 + - github.com
168 + - reddit.com
169 +
170 +```
171 +</details>
172 +
173
174
175 ## Troubleshooting