summary refs log tree commit diff
path: root/nixos/modules/services/networking/dnsmasq.nix
Commit message (Collapse)AuthorAge
* dnsmasq nixos: make sure it always runsPeter Hoeg2017-10-12
| | | | | By default we only restart if the dnsmasq daemon fails but we introduce an option to always keep it running.
* Revert "nixos: add option for bind to not resolve local queries (#29503)"Peter Simons2017-09-23
| | | | | | | | | | | | | | This reverts commit 670b4e29adc16e0a29aa5b4c126703dcca56aeb6. The change added in this commit was controversial when it was originally suggested in https://github.com/NixOS/nixpkgs/pull/29205. Then that PR was closed and a new one opened, https://github.com/NixOS/nixpkgs/pull/29503, effectively circumventing the review process. I don't agree with this modification. Adding an option 'resolveLocalQueries' to tell the locally running name server that it should resolve local DNS queries feels outright nuts. I agree that the current state is unsatisfactory and that it should be improved, but this is not the right way. (cherry picked from commit 23a021d12e8f939cd0bfddb1c7adeb125028c1e3)
* nixos: add option for bind to not resolve local queries (#29503)gwitmond2017-09-18
| | | | | | | | | | | | | | | | | | | | | | | 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.
* dnsmasq: create state dir for dhcp leases fileJakob Gillich2015-12-24
| | | | ref #11718
* dnsmasq nixos module: fix path in systemd serviceThomas Strobel2015-09-08
|
* dnsmasq restarts if /etc/hosts file is changed by nixos-rebuildAnders Papitto2015-08-05
|
* Some more type cleanupEelco Dolstra2015-06-15
|
* dnsmasq: Add some typesEelco Dolstra2015-04-16
|
* nixos/dnsmasq: Fix service name typoWilliam A. Kennington III2015-02-25
|
* systemd: Enable more network servicesWilliam A. Kennington III2014-11-26
|
* Fixing comment caseMichael Raskin2014-09-03
|
* nixos/dnsmasq: Fix regressions during the systemd updateWilliam A. Kennington III2014-09-02
|
* dnsmasq: upgrade to 2.71, fixed dnsmasq modulePaul Colomiets2014-08-28
| | | | | | | | | | | | | | * The module now has systemd config * Add resolveLocalQueries option which sets up it as a dns server for local host (including reasonable setup of resolvconf) * Add "dnsmasq" user for running daemon * Enabled dbus and dnssec support for the package Conflicts: nixos/modules/misc/ids.nix
* Rewrite ‘with pkgs.lib’ -> ‘with lib’Eelco Dolstra2014-04-14
| | | | | | | | Using pkgs.lib on the spine of module evaluation is problematic because the pkgs argument depends on the result of module evaluation. To prevent an infinite recursion, pkgs and some of the modules are evaluated twice, which is inefficient. Using ‘with lib’ prevents this problem.
* Move all of NixOS to nixos/ in preparation of the repository mergeEelco Dolstra2013-10-10