Install and configure bind with dnssec
Find a file
2017-10-15 01:09:01 +02:00
handlers fix: use reload for zone changed 2017-10-15 00:52:30 +02:00
meta first version 2017-10-08 14:57:04 +02:00
spec first version 2017-10-08 14:57:04 +02:00
tasks fix: use reload for zone changed 2017-10-15 00:52:30 +02:00
templates fix: use reload for zone changed 2017-10-15 00:52:30 +02:00
tests first version 2017-10-08 14:57:04 +02:00
.rubocop.yml feat: add Gemfile.lock 2017-10-15 01:09:01 +02:00
.travis.yml first version 2017-10-08 14:57:04 +02:00
Gemfile first version 2017-10-08 14:57:04 +02:00
Gemfile.lock feat: add Gemfile.lock 2017-10-15 01:09:01 +02:00
LICENSE first version 2017-10-08 14:57:04 +02:00
Rakefile first version 2017-10-08 14:57:04 +02:00
README.md first version 2017-10-08 14:57:04 +02:00

Ansible role: Bind

Version Build Status License

Install and configure bind with dnssec

Requirements

None

Role variables

  • bind_role - the role master or slave, don't generate dnssec key on slave
  • bind_zones - the dns zones

How to use

- hosts: dns-server
  vars:
    bind_role: master
    bind_zones:
      test.local:
        ns_primary: ns1.test.local
        mail: root@test.local
        serial: 2017092202
        dnssec: yes
        entries:
          - { name: '@', type: ns, value: localhost. }
          - { name: hello, type: a, value: 1.2.3.4 }
      hello.local:
        ns_primary: ns1.hello.local
        mail: root@hello.local
        serial: 2017092201
        dnssec: no
        entries:
          - { name: '@', type: ns, value: localhost. }
          - { name: hello, type: a, value: 4.3.2.1 }
  roles:
    - bind 

Development

Tests with docker

  • install docker
  • install dependencies bundle install
  • run the tests rake