Change: remove LibreDNS, it does'nt support DNSSEC

This commit is contained in:
Quentin McGaw
2021-01-01 20:44:01 +00:00
parent da92b6bfb9
commit f4db7e3e53
2 changed files with 1 additions and 9 deletions

View File

@@ -19,8 +19,6 @@ const (
CleanBrowsing models.DNSProvider = "cleanbrowsing"
// SecureDNS is a DNS over TLS provider.
SecureDNS models.DNSProvider = "securedns"
// LibreDNS is a DNS over TLS provider.
LibreDNS models.DNSProvider = "libredns"
)
// DNSProviderMapping returns a constant mapping of dns provider name
@@ -89,11 +87,6 @@ func DNSProviderMapping() map[models.DNSProvider]models.DNSProviderData {
SupportsIPv6: true,
Host: models.DNSHost("dot.securedns.eu"),
},
LibreDNS: {
IPs: []net.IP{{116, 203, 115, 192}},
SupportsTLS: true,
Host: models.DNSHost("dot.libredns.gr"),
},
}
}

View File

@@ -28,8 +28,7 @@ func (r *reader) GetDNSOverTLSProviders() (providers []models.DNSProvider, err e
provider := models.DNSProvider(word)
switch provider {
case constants.Cloudflare, constants.Google, constants.Quad9,
constants.Quadrant, constants.CleanBrowsing, constants.SecureDNS,
constants.LibreDNS:
constants.Quadrant, constants.CleanBrowsing, constants.SecureDNS:
providers = append(providers, provider)
default:
return nil, fmt.Errorf("DNS over TLS provider %q is not valid", provider)