diff --git a/Dockerfile b/Dockerfile index 699f4dab..89625123 100644 --- a/Dockerfile +++ b/Dockerfile @@ -177,7 +177,7 @@ ENV VPN_SERVICE_PROVIDER=pia \ BLOCK_MALICIOUS=on \ BLOCK_SURVEILLANCE=off \ BLOCK_ADS=off \ - UNBLOCK= \ + DNS_UNBLOCK_HOSTNAMES= \ DNS_UPDATE_PERIOD=24h \ DNS_ADDRESS=127.0.0.1 \ DNS_KEEP_NAMESERVER=off \ diff --git a/internal/configuration/settings/dnsblacklist.go b/internal/configuration/settings/dnsblacklist.go index 0d770329..44a2c319 100644 --- a/internal/configuration/settings/dnsblacklist.go +++ b/internal/configuration/settings/dnsblacklist.go @@ -154,7 +154,7 @@ func (b *DNSBlacklist) read(r *reader.Reader) (err error) { return err } - b.AllowedHosts = r.CSV("UNBLOCK") // TODO v4 change name + b.AllowedHosts = r.CSV("DNS_UNBLOCK_HOSTNAMES", reader.RetroKeys("UNBLOCK")) return nil } diff --git a/maintenance.md b/maintenance.md index 6282b738..efc8d571 100644 --- a/maintenance.md +++ b/maintenance.md @@ -1,6 +1,5 @@ # Maintenance -- Rename `UNBLOCK` to `DNS_HOSTNAMES_UNBLOCKED` - Change `Run` methods to `Start`+`Stop`, returning channels rather than injecting them - Go 1.18 - gofumpt