hosts/common: dns: cleanup hickory-dns file
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
# ./hickory-dns.nix
|
./hickory-dns.nix
|
||||||
./unbound.nix
|
./unbound.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -49,6 +49,7 @@
|
|||||||
services.nscd.enable = false;
|
services.nscd.enable = false;
|
||||||
# system.nssModules = lib.mkForce [];
|
# system.nssModules = lib.mkForce [];
|
||||||
sane.silencedAssertions = [''.*Loading NSS modules from system.nssModules.*requires services.nscd.enable being set to true.*''];
|
sane.silencedAssertions = [''.*Loading NSS modules from system.nssModules.*requires services.nscd.enable being set to true.*''];
|
||||||
|
|
||||||
# add NSS modules into their own subdirectory.
|
# add NSS modules into their own subdirectory.
|
||||||
# then i can add just the NSS modules library path to the global LD_LIBRARY_PATH, rather than ALL of /run/current-system/sw/lib.
|
# then i can add just the NSS modules library path to the global LD_LIBRARY_PATH, rather than ALL of /run/current-system/sw/lib.
|
||||||
# TODO: i'm doing this so as to achieve mdns DNS resolution (avahi). it would be better to just have hickory-dns delegate .local to avahi
|
# TODO: i'm doing this so as to achieve mdns DNS resolution (avahi). it would be better to just have hickory-dns delegate .local to avahi
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{ config, lib }:
|
{ config, lib, ... }:
|
||||||
{
|
lib.mkIf false #< XXX(2024-10-xx): hickory-dns recursive resolution is too immature; switched to `unbound`
|
||||||
config = lib.mkMerge [
|
(lib.mkMerge [
|
||||||
{
|
{
|
||||||
sane.services.hickory-dns.enable = lib.mkDefault config.sane.services.hickory-dns.asSystemResolver;
|
sane.services.hickory-dns.enable = lib.mkDefault config.sane.services.hickory-dns.asSystemResolver;
|
||||||
# sane.services.hickory-dns.asSystemResolver = lib.mkDefault true;
|
# sane.services.hickory-dns.asSystemResolver = lib.mkDefault true;
|
||||||
@@ -28,5 +28,4 @@
|
|||||||
"127.0.0.53"
|
"127.0.0.53"
|
||||||
];
|
];
|
||||||
})
|
})
|
||||||
];
|
])
|
||||||
}
|
|
||||||
|
Reference in New Issue
Block a user