Giter Club home page Giter Club logo

ansible-pdns-recursor's Introduction

pdns-recursor

Build Status

An Ansible role which installs and configures PowerDNS recursor

Requirements

Currently this role is developed for and tested on Debian GNU/Linux (release: jessie). It is assumed to work on other Debian distributions as well.

Ansible version compatibility: Dockerfile

Example

---

- hosts: "all"
  vars:
    _timeout: 5
    _host: "google.com"
  roles:
    - role: "ansible-pdns-recursor"
      tags:
        - "pdns-recursor"
  post_tasks:
    - block:
        - include: "tests/test_dns_resolving.yml"
      tags:
        - "tests"

Defaults

Available variables are listed below, along with default values (see defaults/main.yml). They're generally prefixed with pdns_recursor_ (which I deliberately leave out here for better formatting).

variable default notes
cache_valid_time 3600 Update the apt cache if its older than the set value (in seconds)
config_file /etc/powerdns/recursor.conf Absolute path to pdns_recursor's configuration file
config_opts Configuration hash holding pdns-recursors's configuration optons
default_release {{ ansible_distribution_release|lower }} The default release to install packages from
package_list ['pdns_recursor'] The list of packages to be installed
pre_default_release {{ pdns_recursor_default_release }} The default release to install packages (pre_package_list) from
pre_package_list [] The list of prerequisite packages to be installed
repo_list [] Source string for the repositories
service_name pdns-recursor Name of the (pdns_recursor) service
supported_distro_list ['stretch'] A list of distribution releases this role supports
update_cache yes Run the equivalent of apt-get update before the operation

Dependencies

None

License

MIT

Author Information

  • Patrick Ringl

ansible-pdns-recursor's People

Contributors

pari- avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.