Git Product home page Git Product logo

ansible-role-systemd-resolved's Introduction

Ansible Role: aisbergg.systemd_resolved

Configures systemd-resolved as a network name resolution manager on Linux systems.

Requirements

  • System needs to be managed with Systemd

Role Variables

Variable Default Comments
systemd_resolved_service_enabled yes Enables the resolved service.
systemd_resolved_service_state started The state of the serice to be in.
systemd_resolved_config {} The configuration for resolved. Full documentation of all parameters can be found in resolved.conf(5).
systemd_resolved_config.DNS [] List of IPv4 and IPv6 addresses to use as system DNS servers.
systemd_resolved_config.FallbackDNS [] List of IPv4 and IPv6 addresses to use as the fallback DNS servers.
systemd_resolved_config.Domains [] List of domains to use as search suffixes when resolving single-label host names.
systemd_resolved_config.LLMNR yes Controls Link-Local Multicast Name Resolution support on the local host.
systemd_resolved_config.MulticastDNS no Controls Multicast DNS support on the local host.
systemd_resolved_config.DNSSEC no Enables DNSSEC-validation for DNS lookups.
systemd_resolved_config.DNSOverTLS no Enables encryption for DNS lookups.
systemd_resolved_config.Cache yes Use cache for DNS lookups.
systemd_resolved_config.DNSStubListener yes Enable DNS stub resolver to listen on 127.0.0.53 port 53.
systemd_resolved_config.ReadEtcHosts yes Read /etc/hosts and to resolve hosts.

Dependencies

None.

Example Playbook

- hosts: all
  vars:
    systemd_resolved_config:
      DNS:
        - 9.9.9.9
        - 8.8.8.8
      Domains:
        - example.org
  roles:
    - role: aisbergg.systemd_resolved

License

MIT

Author Information

Andre Lehmann ([email protected])

ansible-role-systemd-resolved's People

Contributors

aisbergg avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.