juju4 / ansible-dnscrypt-proxy

Allow to encrypt dns traffic to a central dns server in order to provide better privacy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Actions Status - Master Actions Status - Devel

dnscrypt proxy ansible role

Ansible role to setup dnscrypt proxy Allow to encrypt dns traffic to a central dns server in order to provide better privacy.

Requirements & Dependencies

Ansible

It was tested on the following versions:

  • 1.9
  • 2.0
  • 2.2
  • 2.3
  • 2.10

Operating systems

Tested on Ubuntu 18.04, 20.04, 22.04 and Centos 7-8 Vagrant, Kitchen test and Github Action available

Dependencies

None

Example Playbook

Just include this role in your list. For example

- host: myhost
  roles:
    - juju4.dnscrypt-proxy

If you want to use it with a dns cacher

- hosts: test-dnscrypt-unbound
  vars:
    ...
  roles:
    - juju4.dnscrypt-proxy
    - jdauphant.unbound

(see test/integration/default/default.yml) would result in system -> unbound (127.0.0.1:53) -> dnscrypt-proxy (127.0.0.2:53) -> dnscrypt.eu-dk as described in DNSCrypt/dnscrypt-proxy#161

Variables

Continuous integration

you can test this role with test kitchen. In the role folder, run

$ gem install kitchen-ansible kitchen-lxd_cli kitchen-sync kitchen-vagrant
$ cd /path/to/roles/juju4.dnscrypt-proxy
$ kitchen verify
$ kitchen login
$ KITCHEN_YAML=".kitchen.vagrant.yml" kitchen verify

Known bugs

  • Inconsistent results over space and time Test failed or not sometimes but when trying later, it works...

Troubleshooting & Known issues

Known issues

License

BSD 2-clause

About

Allow to encrypt dns traffic to a central dns server in order to provide better privacy.

License:BSD 2-Clause "Simplified" License


Languages

Language:Shell 75.1%Language:Jinja 14.2%Language:Ruby 10.7%