feat: add extraConfig for systemd-resolved
Enabled ResolveUnicastSingleLabel option in systemd-resolved configuration. This ensures unicast single-label domain names can be resolved. Added in the extraConfig section.
This commit is contained in:
parent
629c69f028
commit
20f610b628
|
@ -27,6 +27,9 @@ with lib.metacfg;
|
||||||
|
|
||||||
services.resolved.enable = true;
|
services.resolved.enable = true;
|
||||||
services.resolved.dnssec = "allow-downgrade";
|
services.resolved.dnssec = "allow-downgrade";
|
||||||
|
services.resolved.extraConfig = ''
|
||||||
|
ResolveUnicastSingleLabel=yes;
|
||||||
|
'';
|
||||||
|
|
||||||
systemd.packages = [ pkgs.cloudflare-warp ]; # for warp-cli
|
systemd.packages = [ pkgs.cloudflare-warp ]; # for warp-cli
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue