1 { pkgs, lib, config, ... }:
3 services.resolved = { enable = true;
7 dnsovertls = lib.mkDefault "false";
8 # Deprecated in favor of MulticastDNS
10 extraConfig = lib.mkDefault ''
14 networking.nftables.ruleset = ''
17 #udp dport mdns counter accept comment "systemd-resolved: MulticastDNS"
20 #skuid ${config.users.users.systemd-resolve.name} udp sport mdns udp dport mdns counter accept comment "MulticastDNS"
21 #meta l4proto { udp, tcp } th dport domain skuid ${config.users.users.systemd-resolve.name} counter accept comment "systemd-resolved: DNS"
24 #meta l4proto { udp, tcp } th dport domain skuid ${config.users.users.systemd-resolve.name} counter accept comment "systemd-resolved: DNS"