nixpkgs/nixos/modules/services
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
..
admin/salt salt-minion: link to configuration documentation 2017-05-11 07:12:04 +01:00
amqp
audio nixos/mpd: allow configuring playlist directory (#28252) 2017-08-20 20:34:34 +00:00
backup znapzend service: add autoCreation option 2017-08-30 14:13:13 +02:00
cluster lib: introduce imap0, imap1 (#25543) 2017-07-04 23:29:23 +01:00
computing slurm: 15-08-5-1 -> 17.02.6, slurm-llnl -> slurm 2017-07-13 03:13:05 -04:00
continuous-integration nixos/hydra postgresql: Fix #27314 and add test case 2017-09-02 23:07:42 +02:00
databases nixos/mysql: declarative users & databases 2017-09-18 13:10:26 +02:00
desktops nixos/gnome3.gpaste: add service 2017-09-02 17:43:01 +02:00
development
editors replace "Mac OS X" and "OS X" with "macOS" 2017-08-07 21:41:30 +02:00
games Factorio service: fix typo in attribute path 2017-07-20 20:32:25 +02:00
hardware Merge pull request #28726 from vyp/interception-tools 2017-09-02 08:24:57 +01:00
logging graylog module: adapt to Graylog version 2.3.0 2017-08-11 13:07:30 +02:00
mail nixos/dovecot: Fix createMailUser implementation 2017-09-17 04:57:20 +02:00
misc gollum service: init 2017-09-18 11:55:00 +02:00
monitoring nixos/prometheus-collectd-exporter: init module (#29212) 2017-09-11 19:17:00 +01:00
network-filesystems ipfs: autoMount working without root 2017-09-17 23:57:25 -07:00
networking nixos: add option for bind to not resolve local queries (#29503) 2017-09-18 22:54:29 +02:00
printing cups service: Automatically detect Gutenprint in drivers 2017-08-29 05:25:12 +04:00
scheduling cron service: fix reliance on etc.timezone 2017-08-30 21:35:17 +02:00
search ELK: update kibana and the elastic beats to 5.4 (#26252) 2017-06-13 22:36:08 +02:00
security tor: skip ControlPort in torrc, if not set. 2017-09-13 23:33:46 +01:00
system Merge pull request #26419 from roblabla/feature-sasl 2017-07-20 20:23:52 +02:00
torrent nixos/transmission: make it possible to use a different home directory (#29138) 2017-09-09 20:19:35 +00:00
ttys nixos/agetty: override upstream default 2017-08-13 19:07:38 +02:00
web-apps Merge pull request #28874 from ryantm/mattermost 2017-09-13 19:41:25 +00:00
web-servers nginx: module fix example 2017-09-03 14:05:32 +02:00
x11 nixos/xpra: allow to set extra options (#28934) 2017-09-03 16:30:08 +01:00