Skip to content

Peter0x48/resolver-formula

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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