nixpkgs/nixos/modules
gwitmond bd52618c9d
nixos: add option for bind to not resolve local queries (#29503)
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.
2017-09-18 22:54:29 +02:00
..
config nixos: add option for bind to not resolve local queries (#29503) 2017-09-18 22:54:29 +02:00
hardware hpsa service: fallout from #28557 merge and revert 2017-09-13 07:55:48 +02:00
i18n/input-method Remove top-level kde5 attribute 2017-02-27 11:49:10 -06:00
installer sd-image-aarch64: Increase CMA memory so RPi3 virtual console works again 2017-09-15 23:15:16 +03:00
misc nixos/mfi: remove 2017-09-07 10:24:03 +01:00
profiles nixos/hardened: blacklist a few obscure net protocols 2017-09-09 17:37:17 +02:00
programs mtr nixos module: wrap the proper binary 2017-09-14 19:09:54 +08:00
security nixos/chromium-suid-sandbox: remove reference to grsecurity 2017-09-02 20:35:28 +02:00
service-managers Simple proof of concept for how to do other types of services 2017-05-26 18:14:31 -04:00
services nixos: add option for bind to not resolve local queries (#29503) 2017-09-18 22:54:29 +02:00
system systemd: better document enabled, wantedBy, and requiredBy (#29453) 2017-09-16 12:48:16 +02:00
tasks nixos: add option for bind to not resolve local queries (#29503) 2017-09-18 22:54:29 +02:00
testing buildLinux: allow overriding stdenv on each call 2017-08-20 08:24:52 +02:00
virtualisation google-instance-setup: add openssh to path 2017-09-15 10:43:09 +00:00
module-list.nix gollum service: init 2017-09-18 11:55:00 +02:00
rename.nix zfsUnstable: init at 2017-09-12 2017-09-15 17:59:37 +02:00