srivasv / resolver-formula

Home Page:http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

resolver

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

Available states

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

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.

NetworkManager, if enabled, will have it's DNS (resolv.conf) processing mode disabled.

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

About

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

License:Other


Languages

Language:SaltStack 63.9%Language:HTML 34.4%Language:Ruby 1.7%