https://github.com/stuvusit/pdns-authoritative
Install and configure a PowerDNS authoritative server
https://github.com/stuvusit/pdns-authoritative
ansible ansible-role arch deb dns pacman pdns pdns-authoritative powerdns powerdns-authoritative ubuntu
Last synced: 2 months ago
JSON representation
Install and configure a PowerDNS authoritative server
- Host: GitHub
- URL: https://github.com/stuvusit/pdns-authoritative
- Owner: stuvusIT
- License: other
- Created: 2017-08-20T20:48:46.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-14T01:13:26.000Z (almost 2 years ago)
- Last Synced: 2025-01-31T23:33:36.170Z (4 months ago)
- Topics: ansible, ansible-role, arch, deb, dns, pacman, pdns, pdns-authoritative, powerdns, powerdns-authoritative, ubuntu
- Language: Jinja
- Size: 27.3 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pdns-authoritative
This role installs and configures PowerDNS authoritative server.
pdns is automatically restarted after configuration changes, unless the role variables say otherwise.## Requirements
Debian 11 (Bullseye)
## Role Variables
| Name | Default/Required | Description |
| ----------------------------------- | :--------------: | --------------------------------------------------------------------------------- |
| `pdns_auth_repo_ver` | `41` | Version of the apt repository for PowerDNS (Ubuntu only) |
| `pdns_auth_config` | | Configuration dict of PowerDNS |
| `pdns_auth_no_restart` | `false` | Set this to true to prevent pdns from being restarted after configuration changes |
| `pdns_auth_configure_postgres` | `true` | Whether to configure a PostgreSQL user and database and import the schema |
| `pdns_auth_postgres_login_host` | `localhost` | Host to connect to for setting up PostgreSQL |
| `pdns_auth_postgres_login_user` | `postgres` | User to connect with for setting up PostgreSQL |
| `pdns_auth_postgres_login_password` | | Password to connect with for setting up PostgreSQL |
| `pdns_auth_tsig_key_name` | | Name for the TSIG key the role should generate. No Key is generated if undefined |## Example Playbook
```yml
- hosts: dns
roles:
- powerdns-authoritative
pdns_auth_config:
master: "yes"
chroot: "/var/empty"
```## License
This work is licensed under a [Creative Commons Attribution-ShareAlike 4.0 International License](https://creativecommons.org/licenses/by-sa/4.0/).
## Author Information
- [Janne Heß](https://github.com/dasJ)