From 56a7dc354602d54324a9cda7ce9121d53beaa05e Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 10 Sep 2020 15:00:09 +0200 Subject: nextdns: support /etc/hosts --- system/modules/nextdns.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/system/modules/nextdns.nix b/system/modules/nextdns.nix index 021c65d3..ae7f6852 100644 --- a/system/modules/nextdns.nix +++ b/system/modules/nextdns.nix @@ -12,6 +12,8 @@ let kresdConfig = { enable = true; extraConfig = '' + modules = { 'hints > iterate' } + hints.add_hosts() policy.add(policy.all(policy.TLS_FORWARD({ {'45.90.28.0', hostname='${identifyingPrefix}${cfg.configID}.dns1.nextdns.io'}, {'2a07:a8c0::', hostname='${identifyingPrefix}${cfg.configID}.dns1.nextdns.io'}, -- cgit 1.4.1