Skip to content
This repository has been archived by the owner on Dec 15, 2024. It is now read-only.

Commit

Permalink
readme: use a 3rd column for default values (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoenig authored Jan 15, 2023
1 parent c987123 commit 0332d3f
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,24 +70,24 @@ go install github.com/shoenig/donutdns@latest

The `donutdns` executable uses environment variables for configuration.

| Environment Variable | Description |
| -------------------- | ----------- |
| `DONUT_DNS_PORT` | The port to listen to (default `5301`) |
| `DONUT_DNS_NO_DEBUG` | Disable CoreDNS debug logging (default unset) |
| `DONUT_DNS_NO_LOG` | Disable CoreDNS logging (default unset) |
| `DONUT_DNS_ALLOW` | Comma separated list of domains to NOT block (default unset) |
| `DONUT_DNS_ALLOW_FILE` | File with list of domains to NOT block (default unset) |
| `DONUT_DNS_ALLOW_DIR` | Directory with one or more files of list of domains to NOT block (default unset) |
| `DONUT_DNS_BLOCK` | Comma separated list of domains to block (default unset) |
| `DONUT_DNS_BLOCK_FILE` | File with list of domains to block (default unset) |
| `DONUT_DNS_BLOCK_DIR` | Directory with one or more files of list of domains to block (default unset) |
| `DONUT_DNS_SUFFIX` | Comma separated list of domains to block by suffix (default unset) |
| `DONUT_DNS_SUFFIX_FILE` | File with list of domains to block by suffix (default unset) |
| `DONUT_DNS_SUFFIX_DIR` | Directory with one or more files of list of domains to block by suffix (default unset) |
| `DONUT_DNS_NO_DEFAULTS` | Disable blocking of default domain block lists (default unset) |
| `DONUT_DNS_UPSTREAM_1` | Fallback DNS Server for non-blocked queries (default `1.1.1.1`) |
| `DONUT_DNS_UPSTREAM_2` | Fallback DNS Server for non-blocked queries (default `1.0.0.1`) |
| `DONUT_DNS_UPSTREAM_NAME` | Fallback DNS Server TLS name (default `cloudflare-dns.com`) |
| Environment Variable | Description | Default |
| -------------------- | ----------- | ------- |
| `DONUT_DNS_PORT` | The port to listen on | `5301` |
| `DONUT_DNS_NO_DEBUG` | Disable CoreDNS debug logging | unset |
| `DONUT_DNS_NO_LOG` | Disable CoreDNS logging | unset |
| `DONUT_DNS_ALLOW` | Comma separated list of domains to NOT block | unset |
| `DONUT_DNS_ALLOW_FILE` | File with list of domains to NOT block | unset |
| `DONUT_DNS_ALLOW_DIR` | Directory with one or more files of list of domains to NOT block | unset |
| `DONUT_DNS_BLOCK` | Comma separated list of domains to block | unset |
| `DONUT_DNS_BLOCK_FILE` | File with list of domains to block | unset |
| `DONUT_DNS_BLOCK_DIR` | Directory with one or more files of list of domains to block | unset |
| `DONUT_DNS_SUFFIX` | Comma separated list of domains to block by suffix | unset |
| `DONUT_DNS_SUFFIX_FILE` | File with list of domains to block by suffix | unset |
| `DONUT_DNS_SUFFIX_DIR` | Directory with one or more files of list of domains to block by suffix | unset |
| `DONUT_DNS_NO_DEFAULTS` | Disable blocking of default domain block lists | unset |
| `DONUT_DNS_UPSTREAM_1` | Fallback DNS Server for non-blocked queries |`1.1.1.1` |
| `DONUT_DNS_UPSTREAM_2` | Fallback DNS Server for non-blocked queries | `1.0.0.1` |
| `DONUT_DNS_UPSTREAM_NAME` | Fallback DNS Server TLS name | `cloudflare-dns.com` |

#### CoreDNS Plugin

Expand Down

0 comments on commit 0332d3f

Please sign in to comment.