nixpkgs/nixos/modules/config
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 670b4e29ad)

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
..
fonts nixos/fontconfig: fix substitutions option (#28895) 2017-09-05 16:20:42 +00:00
debug-info.nix
gnu.nix
i18n.nix nixos: update glibc locales link 2017-09-03 18:00:35 +00:00
krb5.nix
ldap.nix nixos/ldap: remove tls_checkpeer no when using TLS 2017-07-19 19:23:40 -04:00
networking.nix nixos: add option for bind to not resolve local queries (#29503) 2017-09-18 22:54:29 +02:00
no-x-libs.nix networkmanager_iodine: init at 1.2.0 2017-08-30 02:58:29 +02:00
nsswitch.nix nsswitch: add systemd module 2017-08-03 10:51:06 +08:00
power-management.nix
pulseaudio.nix nixos/pulseaudio: Fix for missing zeroconf module 2017-08-03 14:21:34 +02:00
shells-environment.nix environment.profileRelativeEnvVars: remove sbin from example 2017-05-09 08:51:04 +01:00
swap.nix change swap.randomEncryption config option to "coercedTo" for backwards compatibility 2017-07-26 20:57:10 +03:00
sysctl.nix tree-wide: remove uses of features.grsecurity 2017-05-14 15:08:51 +02:00
system-environment.nix
system-path.nix nixos: add pathes for KDE applications 2017-08-06 12:55:10 +03:00
terminfo.nix terminfo: symlink terminfo to /etc for ncurses 2017-06-30 11:17:11 +02:00
timezone.nix nixos/timezone: Fix evaluation error 2017-07-31 17:15:30 +02:00
unix-odbc-drivers.nix
update-users-groups.pl
users-groups.nix environment.etc: add user/group option 2017-07-29 23:56:46 +01:00
vpnc.nix
zram.nix