This role will fully configure and install knot-resolver.
Further development of this Ansible role has been moved to Collection bodsch.dns. This repository will therefore no longer be actively maintained.
not known
Tested on
- ArchLinux
- Debian based
- Debian 10 / 11 / 12
- Ubuntu 20.04 / 22.04
knot_resolver_support_ipv6: false
knot_resolver_listener: []
knot_resolver_systemd_instances: 2
knot_resolver_cachesize: 10
knot_resolver_internal_domain: []
knot_resolver_views: []
knot_resolver_listener:
- name: localhost
interfaces:
- eth0
ips:
- '127.0.0.1'
port: 53
options:
tls: false
knot_resolver_internal_domain:
- domains:
- 'molecule.lan'
- 'matrix.lan'
- '0.172.in-addr.arpa'
policy:
stub: '127.0.0.1@5353'
knot_resolver_views:
- pass:
- '127.0.0.0/8'
- '192.168.0.0/24'
- drop:
- '0.0.0.0/0'
- Bodo Schulz
FREE SOFTWARE, HELL YEAH!