An open API service indexing awesome lists of open source software.

https://github.com/aabouzaid/resolver-ng-formula

SaltStack formula to manage /etc/resolv.conf.
https://github.com/aabouzaid/resolver-ng-formula

resolvconf resolver saltstack saltstack-formula

Last synced: about 1 year ago
JSON representation

SaltStack formula to manage /etc/resolv.conf.

Awesome Lists containing this project

README

          

========
resolver
========
SaltStack formula to manage ``/etc/resolv.conf`` with or without ``resolvconf`` package.

.. Note::

See the full `Salt Formulas installation and usage instructions
`_.

Available states
================

.. contents::
:local:

``resolver``
------------

Manage system nameserver information in ``/etc/resolv.conf``.

``resolver.ng``
------------

A new formula to manage system nameserver information in ``/etc/resolv.conf``.

Configuration
=============

The ``resolvconf`` package is enabled by default for Debian based distributions
and you can manage ``/etc/resolv.conf`` directly without remove ``resolvconf`` package.

.. code:: yaml

resolver:
ng:
resolvconf:
enabled: False
nameservers:
- 8.8.8.8
- 8.8.4.4
searchpaths:
- internal
options:
- rotate
- timeout:1
- attempts:5

.. vim: fenc=utf-8 spell spl=en cc=100 tw=99 fo=want sts=4 sw=4 et