knot-resolver ansible role
---
- hosts: localhost
connection: local
vars:
knot_resolver:
net:
listen:
- addresses: "'127.0.0.1'"
port: 53
flags: "kind='dns'"
modules:
- name: 'hints > iterate'
- name: 'stats'
- name: 'predict'
cache:
size: '100 * MB'
roles:
- knot-resolver
---
- hosts: all
vars:
knot_resolver:
net:
ipv6: false
listen:
- addresses: "net.ens3"
port: 53
flags: "kind='dns'"
- addresses: "net.ens3"
port: 853
flags: "kind='tls'"
modules:
- name: 'hints > iterate'
- name: 'stats'
- name: 'predict'
cache:
size: '100 * MB'
roles:
- knot-resolver