https://github.com/stuvusit/dnsdist
Set up a dnsdist server with Ansible
https://github.com/stuvusit/dnsdist
ansible ansible-role apt debian dns dnsdist pdns powerdns ubuntu
Last synced: 2 months ago
JSON representation
Set up a dnsdist server with Ansible
- Host: GitHub
- URL: https://github.com/stuvusit/dnsdist
- Owner: stuvusIT
- License: other
- Created: 2017-08-20T15:42:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2022-05-18T08:55:15.000Z (about 4 years ago)
- Last Synced: 2025-03-26T17:54:02.893Z (about 1 year ago)
- Topics: ansible, ansible-role, apt, debian, dns, dnsdist, pdns, powerdns, ubuntu
- Language: Jinja
- Size: 19.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dnsdist
This role installs and configures PowerDNS dnsdist.
dnsdist is automatically restarted after configuration changes, unless the role variables say otherwise.
## Requirements
Debian 11 (Bullseye)
## Role Variables
| Name | Default/Required | Description |
|------------------------|:----------------:|---------------------------------------------------------------------------------------|
| `dnsdist_repo_ver` | `13` | Version of the apt repository for dnsdist (Ubuntu only) |
| `dnsdist_config` | | Configuration of dnsdist (will be put to the configuration file as-is) |
| `dnsdist_restart` | `true` | Set this to false to prevent dnsdist from being restarted after configuration changes |
| `dnsdist_limit_nofile` | ` ` | Limit of file handles of dnsdist |
## Example Playbook
```yml
- hosts: dns
roles:
- dnsdist
dnsdist_config: |
setLocal('0.0.0.0:53', { toTCP=true, reusePort=true, })
newServer({address="2001:4860:4860::8888", qps=1})
setServerPolicy(firstAvailable)
```
## 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)