arillso.system.resolv role – DNS configuration management for Linux systems

Note

This role is part of the arillso.system collection (version 0.0.34).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install arillso.system.

To use it in a playbook, specify: arillso.system.resolv.

Entry point main – DNS configuration management for Linux systems

Synopsis

  • This role manages DNS configurations.

  • It allows setting search domains, nameservers, domain name, sortlist, and options.

Parameters

Parameter

Comments

resolv_domain

string

The local domain name.

resolv_nameservers

list / elements=string

A list of DNS nameservers.

resolv_options

list / elements=string

Options such as timeout, attempts, etc.

list / elements=string

A list of search domains.

resolv_sortlist

list / elements=string

A list of IP addresses to sort.