Ansible role to setup named/bind
Go to file
CSRBot c19f3c9db4
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.33.0
2023-01-07 19:51:40 +01:00
defaults fix: add example for a forward zone 2022-07-22 09:38:46 +02: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 fix: use a better task name to load os specific vars 2022-12-28 22:05:11 +01:00
templates/etc fix: add configuration options to set up forward zone 2022-05-09 14:31:16 +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 chore(deps): update dependency docker.io/volkerraschek/markdownlint to v0.33.0 2023-01-07 19:51:40 +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 fix(ci): replace git repository with gitea instead of drone 2022-04-27 20:13:27 +02: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

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.