Ansible role to setup named/bind
Go to file
Markus Pesch 71c4e61fe8
All checks were successful
continuous-integration/drone/push Build is passing
fix(meta): name of the role
2022-04-11 14:16:08 +02:00
defaults Initial Commit 2022-02-21 21:41:31 +01:00
handlers Initial Commit 2022-02-21 21:41:31 +01:00
meta fix(meta): name of the role 2022-04-11 14:16:08 +02:00
tasks test(ubuntu): tested on ubuntu 2022-04-04 16:00:11 +02:00
templates/etc test(ubuntu): tested on ubuntu 2022-04-04 16:00:11 +02:00
vars test(ubuntu): tested on ubuntu 2022-04-04 16:00:11 +02:00
.ansible-lint fix(ci): drone, markdownlint, renovate 2022-02-21 22:08:10 +01:00
.drone.yml fix(drone): rm obsolete dependency 2022-02-21 22:08:56 +01:00
.editorconfig fix(ci): drone, markdownlint, renovate 2022-02-21 22:08:10 +01:00
.markdownlint.yaml fix(ci): drone, markdownlint, renovate 2022-02-21 22:08:10 +01:00
LICENSE fix: add license 2022-02-21 22:11:41 +01:00
README.md doc: meta information 2022-02-21 22:24:23 +01:00
renovate.json fix(ci): drone, markdownlint, renovate 2022-02-21 22:08:10 +01:00

bind9-role

Build Status Ansible Role

With following role can be bind installed and configured.

Installation

ansible-galaxy install volker_raschek.bind9_role

Supported distributions

  • Arch Linux
  • Rocky Linux 8
  • Ubuntu 20.04

Features

  • Installing bind/named
  • Configuring bind/named
    • TSIG-Keys
    • Simple Zones
    • Zones with different views
    • DYNDNS

Configuring

In the default directory are examples how to configure named. Copy the defaults into your host_vars or group_vars and adapt the examples.

Individual host-templates

Each host has his own zones templates. Store the template in templates/<hostname>/etc/named/zones/<name-of-view>/zone.conf. For example: templates/ns1.example.com/etc/named/zones/internal/db.de.example.