summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/httpserver
diff options
context:
space:
mode:
authorgwitmond <guido@witmond.nl>2017-09-18 13:21:44 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2017-09-18 22:54:29 +0200
commitbd52618c9d4a2620882cd03ecb15a1eb028827b7 (patch)
treefdf0e98cdeecd77a1839b4abd3594d410e6e19b6 /pkgs/development/python-modules/httpserver
parent38c14d71329c3fa760ea602f09b380b3cd0bdbc2 (diff)
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.
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions