Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

This role will fully configure and install knot-resolver.

License

Notifications You must be signed in to change notification settings

bodsch/ansible-knot-resolver

Repository files navigation

Ansible Role: knot-resolver

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.


GitHub Workflow Status GitHub issues GitHub release (latest by date) Ansible Quality Score

Requirements & Dependencies

not known

Operating systems

Tested on

  • ArchLinux
  • Debian based
    • Debian 10 / 11 / 12
    • Ubuntu 20.04 / 22.04

configuration

default

knot_resolver_support_ipv6: false

knot_resolver_listener: []

knot_resolver_systemd_instances: 2
knot_resolver_cachesize: 10

knot_resolver_internal_domain: []

knot_resolver_views: []

listener

knot_resolver_listener:
  - name: localhost
    interfaces:
      - eth0
    ips:
      - '127.0.0.1'
    port: 53
    options:
      tls: false

internal domains

knot_resolver_internal_domain:
  - domains:
      - 'molecule.lan'
      - 'matrix.lan'
      - '0.172.in-addr.arpa'
    policy:
      stub: '127.0.0.1@5353'

views

knot_resolver_views:
  - pass:
      - '127.0.0.0/8'
      - '192.168.0.0/24'
  - drop:
      - '0.0.0.0/0'

Author and License

  • Bodo Schulz

License

Apache

FREE SOFTWARE, HELL YEAH!