1
0
mirror of https://github.com/StackExchange/dnscontrol.git synced 2024-05-11 05:55:12 +00:00

DOCS: Added Gitbook filenames to JSON code snippets. (#2119)

This commit is contained in:
Jeffrey Cafferata
2023-03-02 22:17:27 +01:00
committed by GitHub
parent 4b37906049
commit 93c77ebe34
46 changed files with 166 additions and 29 deletions

View File

@ -4,6 +4,7 @@ This is a read-only/monitoring "registrar". It does a DNS NS lookup to confirm t
To use this provider, add an entry to `creds.json` with `TYPE` set to `DNSOVERHTTPS`.
{% code title="creds.json" %}
```json
{
"dohdefault": {
@ -11,11 +12,13 @@ To use this provider, add an entry to `creds.json` with `TYPE` set to `DNSOVERHT
}
}
```
{% endcode %}
The DNS-over-HTTPS provider defaults to using Google Public DNS however you may configure an alternative RFC 8484 DoH provider using the `host` parameter.
Example:
{% code title="creds.json" %}
```json
{
"dohcloudflare": {
@ -24,6 +27,7 @@ Example:
}
}
```
{% endcode %}
Some common DoH providers are: