Merge pull request #10 from aalmenar/main

Add Quad9 dns configuration
This commit is contained in:
Kenta Kubo 2020-10-25 06:03:23 +09:00 committed by GitHub
commit 89bf37db18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,5 +65,33 @@ enum Presets {
)
)
),
.init(
name: "Quad9",
configuration: .dnsOverTLS(
DoTConfiguration(
servers: [
"9.9.9.9",
"149.112.112.112",
"2620:fe::fe",
"2620:fe::fe:9",
],
serverName: "dns.quad9.net"
)
)
),
.init(
name: "Quad9",
configuration: .dnsOverHTTPS(
DoHConfiguration(
servers: [
"9.9.9.9",
"149.112.112.112",
"2620:fe::fe",
"2620:fe::fe:9",
],
serverURL: URL(string: "https://dns.quad9.net/dns-query")
)
)
),
]
}