bd52618c9d
When the user specifies the networking.nameservers setting in the configuration file, it must take precedence over automatically derived settings. The culprit was services.bind that made the resolver set to 127.0.0.1 and ignore the nameserver setting. This patch adds a flag to services.bind to override the nameserver to localhost. It defaults to true. Setting this to false prevents the service.bind and dnsmasq.resolveLocalQueries settings from overriding the users' settings. Also, when the user specifies a domain to search, it must be set in the resolver configuration, even if the user does not specify any nameservers. (cherry picked from commit 670b4e29adc16e0a29aa5b4c126703dcca56aeb6) This commit was accidentally merged to 17.09 but was intended for master. This is the cherry-pick to master. |
||
---|---|---|
.. | ||
filesystems | ||
bcache.nix | ||
cpu-freq.nix | ||
encrypted-devices.nix | ||
filesystems.nix | ||
kbd.nix | ||
lvm.nix | ||
network-interfaces-scripted.nix | ||
network-interfaces-systemd.nix | ||
network-interfaces.nix | ||
powertop.nix | ||
scsi-link-power-management.nix | ||
swraid.nix | ||
trackpoint.nix | ||
tty-backgrounds-combine.sh |