From ac355978daa801207b640b6f3946f0038fee0bf5 Mon Sep 17 00:00:00 2001 From: Nikos Roussos Date: Tue, 17 Nov 2020 14:25:27 +0200 Subject: [PATCH] Add LibreDNS DoH provider This adds two endpoints, second one filtering ads and trackers. Fixes #14 --- DNSecure/Presets.swift | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/DNSecure/Presets.swift b/DNSecure/Presets.swift index 820be1c..b7d6edc 100644 --- a/DNSecure/Presets.swift +++ b/DNSecure/Presets.swift @@ -93,5 +93,27 @@ enum Presets { ) ) ), + .init( + name: "LibreDNS", + configuration: .dnsOverHTTPS( + DoTConfiguration( + servers: [ + "116.202.176.26", + ], + serverName: "https://doh.libredns.gr/dns-query" + ) + ) + ), + .init( + name: "LibreDNS (No Ads)", + configuration: .dnsOverHTTPS( + DoTConfiguration( + servers: [ + "116.202.176.26", + ], + serverName: "https://doh.libredns.gr/ads" + ) + ) + ), ] }