ansible-role-bind9/README.md

39 lines
1.0 KiB
Markdown
Raw Normal View History

2022-02-21 21:24:23 +00:00
# bind9-role
[![Build Status](https://drone.cryptic.systems/api/badges/volker.raschek/bind9-role/status.svg)](https://drone.cryptic.systems/volker.raschek/bind9-role)
[![Ansible Role](https://img.shields.io/ansible/role/d/58170)](https://galaxy.ansible.com/volker_raschek/bind9_role)
2022-02-21 20:41:31 +00:00
With following role can be bind installed and configured.
2022-02-21 21:24:23 +00:00
## Installation
```bash
ansible-galaxy install volker_raschek.bind9_role
```
2022-02-21 20:41:31 +00:00
## 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`.