Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

🔧 An Ansible role to install and configure the DNS Privacy stub resolver Stubby.

License

Notifications You must be signed in to change notification settings

aisbergg/ansible-role-stubby

Repository files navigation

Ansible Role: aisbergg.stubby

This is Ansible role installs and configures the DNS Privacy stub resolver Stubby.

NOTE: Rather use dnscrypt-proxy instead of stubby, because it has a larger community and offers more features. So checkout my Ansible role for dnscrypt-proxy.

Requirements

None.

Role Variables

Variable Default Comments
stubby_service_state started Set the service state (Possible values: started, reloaded, restarted, stopped)
stubby_service_enabled true Enable/Disable the Stubby service
stubby_config {} Dictionary of Stubby configuration variables (key-value pairs). A list of available variables and their documentation can be found in vars/main.yml.

Dependencies

None.

Example Playbook

- hosts: all
  vars: 
    stubby_service_state: started
    stubby_service_enabled: true
    stubby_config:
      upstream_recursive_servers:
        # Quad 9 'secure' service - Filters, does DNSSEC, doesn't send ECS
        - address_data: 9.9.9.9
          tls_auth_name: "dns.quad9.net"
        - address_data: 2620:fe::fe
          tls_auth_name: "dns.quad9.net"
  roles:
    - aisbergg.stubby

License

MIT

Author Information

Andre Lehmann ([email protected])

About

🔧 An Ansible role to install and configure the DNS Privacy stub resolver Stubby.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published