Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 1.41 KB

README.md

File metadata and controls

30 lines (22 loc) · 1.41 KB

Catena Ansible Role: systemd-resolved

Manage system DNS resolver via systemd using systemd-resolved, a system service that provides network name resolution to local applications. It implements a caching and validating DNS/DNSSEC stub resolver, as well as an LLMNR and MulticastDNS resolver and responder.

Role variables

Variable Default Info
catena_resolved [] Set configuration files that control local DNS and LLMNR name resolution.
catena_resolved_cleanup no Remove existing configuration files: /etc/systemd/resolved.conf.d/*.conf.

catena_resolved

Manage resolved.conf.d - Network Name Resolution configuration files.

Configuration files will have the .conf extension and will be placed in the configuration snippets directory /etc/systemd/resolved.conf.d.

# Defaults
catena_resolved: []

# Example
catena_resolved:
  # /etc/systemd/resolved.conf.d/dns_server.conf
  - name: dns_server
    options:
      Resolve:
        # Cloudflare DNS
        DNS: "1.1.1.1 1.0.0.1 2606:4700:4700::1111 2606:4700:4700::1001"