Defaults DOT_IPV6 to off
This commit is contained in:
@@ -65,7 +65,7 @@ ENV VPNSP="private internet access" \
|
|||||||
DOT_VERBOSITY_DETAILS=0 \
|
DOT_VERBOSITY_DETAILS=0 \
|
||||||
DOT_VALIDATION_LOGLEVEL=0 \
|
DOT_VALIDATION_LOGLEVEL=0 \
|
||||||
DOT_CACHING=on \
|
DOT_CACHING=on \
|
||||||
DOT_IPV6=on \
|
DOT_IPV6=off \
|
||||||
BLOCK_MALICIOUS=on \
|
BLOCK_MALICIOUS=on \
|
||||||
BLOCK_SURVEILLANCE=off \
|
BLOCK_SURVEILLANCE=off \
|
||||||
BLOCK_ADS=off \
|
BLOCK_ADS=off \
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ docker run --rm --network=container:pia alpine:3.11 wget -qO- https://ipinfo.io
|
|||||||
| `DOT` | `on` | | ✅ | ✅ | ✅ | Activate DNS over TLS | `on`, `off` |
|
| `DOT` | `on` | | ✅ | ✅ | ✅ | Activate DNS over TLS | `on`, `off` |
|
||||||
| `DOT_PROVIDERS` | `cloudflare` | | ✅ | ✅ | ✅ | Comma delimited list of DNS over TLS providers | `cloudflare`, `google`, `quad9`, `quadrant`, `cleanbrowsing`, `securedns`, `libredns` |
|
| `DOT_PROVIDERS` | `cloudflare` | | ✅ | ✅ | ✅ | Comma delimited list of DNS over TLS providers | `cloudflare`, `google`, `quad9`, `quadrant`, `cleanbrowsing`, `securedns`, `libredns` |
|
||||||
| `DOT_CACHING` | `on` | | ✅ | ✅ | ✅ | DNS over TLS Unbound caching | `on`, `off` |
|
| `DOT_CACHING` | `on` | | ✅ | ✅ | ✅ | DNS over TLS Unbound caching | `on`, `off` |
|
||||||
| `DOT_IPV6` | `on` | | ✅ | ✅ | ✅ | DNS over TLS IPv6 resolution | `on`, `off` |
|
| `DOT_IPV6` | `off` | | ✅ | ✅ | ✅ | DNS over TLS IPv6 resolution | `on`, `off` |
|
||||||
| `DOT_PRIVATE_ADDRESS` | All private CIDRs ranges | | ✅ | ✅ | ✅ | Comma separated list of CIDRs or single IP addresses Unbound won't resolve to. Note that the default setting prevents DNS rebinding | |
|
| `DOT_PRIVATE_ADDRESS` | All private CIDRs ranges | | ✅ | ✅ | ✅ | Comma separated list of CIDRs or single IP addresses Unbound won't resolve to. Note that the default setting prevents DNS rebinding | |
|
||||||
| `DOT_VERBOSITY` | `1` | | ✅ | ✅ | ✅ | DNS over TLS Unbound verbosity level | `0`, `1`, `2`, `3`, `4`, `5` |
|
| `DOT_VERBOSITY` | `1` | | ✅ | ✅ | ✅ | DNS over TLS Unbound verbosity level | `0`, `1`, `2`, `3`, `4`, `5` |
|
||||||
| `DOT_VERBOSITY_DETAILS` | `0` | | ✅ | ✅ | ✅ | Unbound details verbosity level | `0`, `1`, `2`, `3`, `4` |
|
| `DOT_VERBOSITY_DETAILS` | `0` | | ✅ | ✅ | ✅ | Unbound details verbosity level | `0`, `1`, `2`, `3`, `4` |
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ services:
|
|||||||
# DNS over TLS
|
# DNS over TLS
|
||||||
- DOT=on
|
- DOT=on
|
||||||
- DOT_PROVIDERS=cloudflare
|
- DOT_PROVIDERS=cloudflare
|
||||||
- DOT_IPV6=on
|
- DOT_IPV6=off
|
||||||
- DOT_VERBOSITY=1
|
- DOT_VERBOSITY=1
|
||||||
- BLOCK_MALICIOUS=on
|
- BLOCK_MALICIOUS=on
|
||||||
- BLOCK_SURVEILLANCE=off
|
- BLOCK_SURVEILLANCE=off
|
||||||
|
|||||||
@@ -130,5 +130,5 @@ func (p *reader) GetDNSOverTLSPrivateAddresses() (privateAddresses []string, err
|
|||||||
// GetDNSOverTLSIPv6 obtains if Unbound should resolve ipv6 addresses using ipv6 DNS over TLS
|
// GetDNSOverTLSIPv6 obtains if Unbound should resolve ipv6 addresses using ipv6 DNS over TLS
|
||||||
// servers from the environment variable DOT_IPV6
|
// servers from the environment variable DOT_IPV6
|
||||||
func (p *reader) GetDNSOverTLSIPv6() (ipv6 bool, err error) {
|
func (p *reader) GetDNSOverTLSIPv6() (ipv6 bool, err error) {
|
||||||
return p.envParams.GetOnOff("DOT_IPV6")
|
return p.envParams.GetOnOff("DOT_IPV6", libparams.Default("off"))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user