about summary refs log tree commit diff
path: root/lib/dns.nix
blob: da1f1f2ca7303bb8f858fa4376baaf2396ff77de (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{ lib, inputs, ... }:
with lib;
recursiveUpdate inputs.dns.lib {
  const = {
    quad9 = {
      default = [
        "9.9.9.9"
        "149.112.112.112"
        "2620:fe::fe"
        "2620:fe::9"
      ];
      unsecured = [
        "9.9.9.10"
        "149.112.112.10"
        "2620:fe::10"
        "2620:fe::fe:10"
      ];
      ecs = [
        "9.9.9.11"
        "149.112.112.11"
        "2620:fe::11"
        "2620:fe::fe:11"
      ];
    };
    cloudflare = {
      default = [
        "1.1.1.1"
        "1.0.0.1"
        "2606:4700:4700::1111"
        "2606:4700:4700::1001"
      ];
      blocking = [
        "1.1.1.2"
        "1.0.0.2"
        "2606:4700:4700::1112"
        "2606:4700:4700::1002"
      ];
      blockingPlus = [
        "1.1.1.3"
        "1.0.0.3"
        "2606:4700:4700::1113"
        "2606:4700:4700::1003"
      ];
    };
  };
}

Consider giving Nix/NixOS a try! <3