3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/dnscrypt-proxy
Joachim Fasting 0526467494
dnscrypt-proxy: enable additional plugins
Adding ldns builds additional plugins for rewriting DNS queries,
such as blocking and forwarding.

For example, to use a custom domain blocklist, you can do
```nix
let
  myBlockListFile = writeText "blocked-domains" ''
    *.example.com
  '';
in
{
  services.dnscrypt-proxy.extraArgs = [
    "-X libdcplugin_example_ldns_blocking.so,--domains=${myBlockListFile}"
  ];
}
```
2017-03-16 16:15:33 +01:00
..
default.nix dnscrypt-proxy: enable additional plugins 2017-03-16 16:15:33 +01:00