add swapfile for dot-vc2
[myNix.git] / lbhost / conf.doh.nix
blob4afc1ae901dccec261cdc3985861823308c2bd10
1 { config
2 , pkgs
3 , lib
4 , ...
5 }:
7 rec {
8   lib.wwwURLs."/dns-query" = lib.wwwURLs."/dns.google/dns-query";
10   # FIXME cloudflare will failed with 403, still no idea
11   lib.wwwURLs."/one.one.one.one/dns-query" = "https://one.one.one.one/dns-query";
12   lib.wwwURLs."/1.1.1.1/dns-query" = {
13     url = "https://1.1.1.1/dns-query";
14     proxy_ssl_name = "one.one.one.one";
15   };
16   lib.wwwURLs."/1.0.0.1/dns-query" = {
17     url = "https://1.0.0.1/dns-query";
18     proxy_ssl_name = "one.one.one.one";
19   };
21   lib.wwwURLs."/dns.google/dns-query" = "https://dns.google/dns-query";
22   lib.wwwURLs."/8.8.8.8/dns-query" = {
23     url = "https://8.8.8.8/dns-query";
24     proxy_ssl_name = "dns.google";
25   };
26   lib.wwwURLs."/8.8.4.4/dns-query" = {
27     url = "https://8.8.4.4/dns-query";
28     proxy_ssl_name = "dns.google";
29   };
31   lib.wwwURLs."/doh.opendns.com/dns-query" = "https://doh.opendns.com/dns-query";
32   lib.wwwURLs."/dns.quad9.net/dns-query" = "https://dns.quad9.net/dns-query";