summaryrefslogtreecommitdiffstats
path: root/lass/2configs/dns-stuff.nix
diff options
context:
space:
mode:
authorjeschli <jeschli@gmail.com>2018-01-06 21:36:32 +0100
committerjeschli <jeschli@gmail.com>2018-01-06 21:36:32 +0100
commit1967d8b04f2a8e9755818ef141eb1d3ea08e8ae7 (patch)
tree295b8ffebed0a07d291c68477f939a50a9e6212d /lass/2configs/dns-stuff.nix
parent183b001e1aca601e420ef07ec4944a15c13a8d2c (diff)
parentacecab429219d9086e23fa8912ecb05c017211d1 (diff)
Merge branch 'master' of prism.r:stockholm
Diffstat (limited to 'lass/2configs/dns-stuff.nix')
-rw-r--r--lass/2configs/dns-stuff.nix22
1 files changed, 2 insertions, 20 deletions
diff --git a/lass/2configs/dns-stuff.nix b/lass/2configs/dns-stuff.nix
index 411b07503..cbcce8df9 100644
--- a/lass/2configs/dns-stuff.nix
+++ b/lass/2configs/dns-stuff.nix
@@ -11,24 +11,6 @@ with import <stockholm/lib>;
key = "1AFC:E58D:F242:0FBB:9EE9:4E51:47F4:5373:D9AE:C2AB:DD96:8448:333D:5D79:272C:A44C";
};
};
- services.dnsmasq = {
- enable = true;
- resolveLocalQueries = false;
- extraConfig = ''
- server=127.1.0.1
- #no-resolv
- cache-size=1000
- min-cache-ttl=3600
- bind-dynamic
- all-servers
- dnssec
- trust-anchor=.,19036,8,2,49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5
- rebind-domain-ok=/onion/
- server=/.onion/127.0.0.1#9053
- port=53
- '';
- };
- networking.extraResolvconfConf = ''
- name_servers='127.0.0.1'
- '';
+ services.resolved.enable = true;
+ services.resolved.fallbackDns = [ "127.1.0.1" ];
}