Skip to content

Commit

Permalink
Regenerate integrations docs (netdata#19563)
Browse files Browse the repository at this point in the history
Co-authored-by: ilyam8 <22274335+ilyam8@users.noreply.github.com>
  • Loading branch information
netdatabot and ilyam8 authored Feb 3, 2025
1 parent 46d0c2d commit 87a8478
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions src/go/plugin/go.d/collector/dnsquery/integrations/dns_query.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ The following options can be defined globally: update_every, autodetection_retry
| update_every | Data collection frequency. | 1 | no |
| autodetection_retry | Recheck interval in seconds. Zero means no recheck will be scheduled. | 0 | no |
| domains | Domain or subdomains to query. The collector will choose a random domain from the list on every iteration. | | yes |
| servers | Servers to query. | | yes |
| servers | Servers to query. If empty, the collector will automatically use DNS servers from `/etc/resolv.conf`. | | no |
| port | DNS server port. | 53 | no |
| network | Network protocol name. Available options: udp, tcp, tcp-tls. | udp | no |
| record_types | Query record type. Available options: A, AAAA, CNAME, MX, NS, PTR, TXT, SOA, SPF, TXT, SRV. | A | no |
Expand All @@ -127,9 +127,9 @@ The following options can be defined globally: update_every, autodetection_retry

#### Examples

##### Basic
##### Specific DNS servers

An example configuration.
An example configuration using Google's public DNS servers.

<details open><summary>Config</summary>

Expand All @@ -150,6 +150,26 @@ jobs:
```
</details>

##### System DNS

An example configuration using DNS servers from `/etc/resolv.conf`.

<details open><summary>Config</summary>

```yaml
jobs:
- name: job1
record_types:
- A
- AAAA
domains:
- google.com
- github.com
- reddit.com

```
</details>



## Troubleshooting
Expand Down

0 comments on commit 87a8478

Please sign in to comment.