resolv_conf

Manage resolv.conf via Puppet

3,604,513 downloads

209 latest version

Version information

  • 8.0.1 (latest)
  • 8.0.0
  • 7.0.0
  • 6.0.0
  • 5.1.0
  • 5.0.0
  • 4.2.1
  • 4.2.0
  • 4.1.0
  • 4.0.0
  • 3.3.0
  • 3.1.0
  • 3.0.5
  • 3.0.4 (deleted)
  • 3.0.3
  • 3.0.2
  • 3.0.1
  • 3.0.0
  • 2.1.0
  • 2.0.0
  • 1.0.4
  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Oct 27th 2025
This version is compatible with:
  • RedHat, CentOS, OracleLinux, Scientific, Suse, Debian, Ubuntu, FreeBSD, OpenBSD, Gentoo, ArchLinux, AIX, Solaris

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'saz-resolv_conf', '8.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add saz-resolv_conf
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install saz-resolv_conf --version 8.0.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

saz/resolv_conf — version 8.0.1 Oct 27th 2025

puppet-resolv_conf Build Status

Manage resolv.conf via Puppet

Usage

    class { 'resolv_conf':
      nameservers => ['192.168.1.1', '192.168.2.2', '192.168.3.3'],
    }

Different domain than current machine

    class { 'resolv_conf':
        nameservers => ['192.168.1.1', '192.168.2.2', '192.168.3.3'],
        domainname  => 'different.example.com',
    }

Different searchpath

    class { 'resolv_conf':
        nameservers => ['192.168.1.1', '192.168.2.2', '192.168.3.3'],
        searchpath  => ['sub1.example.com', 'sub2.example.com'],
    }