Ansible role to setup named/bind
Go to file
2022-02-21 22:08:10 +01:00
defaults Initial Commit 2022-02-21 21:41:31 +01:00
handlers Initial Commit 2022-02-21 21:41:31 +01:00
meta Initial Commit 2022-02-21 21:41:31 +01:00
tasks Initial Commit 2022-02-21 21:41:31 +01:00
templates Initial Commit 2022-02-21 21:41:31 +01:00
vars Initial Commit 2022-02-21 21:41:31 +01:00
.ansible-lint fix(ci): drone, markdownlint, renovate 2022-02-21 22:08:10 +01:00
.drone.yml fix(ci): drone, markdownlint, renovate 2022-02-21 22:08:10 +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
README.md Initial Commit 2022-02-21 21:41:31 +01:00
renovate.json fix(ci): drone, markdownlint, renovate 2022-02-21 22:08:10 +01:00

bind

With following role can be bind installed and configured.

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.