Forge Home

dnsupdate

Update Active Directory DNS from linux clients

10,017 downloads

9,892 latest version

3.1 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.3 (latest)
  • 0.1.2 (deleted)
  • 0.1.1 (deleted)
  • 0.1.0 (deleted)
released Mar 20th 2015
This version is compatible with:
  • Puppet Enterprise >= 3.3.0 < 4.0.0
  • Puppet >= 3.0.0 < 4.0.0
  • , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'swizzley88-dnsupdate', '0.1.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add swizzley88-dnsupdate
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install swizzley88-dnsupdate --version 0.1.3

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
Tags: dns, nsupdate, a, ptr

Documentation

swizzley88/dnsupdate — version 0.1.3 Mar 20th 2015

dnsupdate

Puppet Forge

Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Requirements
  6. Compatibility
  7. Limitations
  8. Development

Overview

This is the dnsupdate module. It uses nsupdate included with bind-utils to manage DNS records.

Module Description

This module will delete invalid A records, and create valid A records with a matching PTR in Microsoft Active Directory Integrated DNS. It checks to make sure the bind-utils package is installed and creates a nsupdate file /etc/nsupdate which is formed from template using facter in for an nsupdate script. It then queuries DNS using nslookup to match PTR and A records, if either don't match, it runs.

Setup

You may need to configure AD DNS security to allow the zone updates.

Usage

include dnsupdate

Requirements

puppetlabs/stdlib >= 4.2.0

Compatibility

  • RHEL 5, 6, 7
  • CentOS 6, 7
  • Oracle Enterprise Linux 5, 6, 7
  • Fedora 18, 19, 20, 21

Limitations

This module has been tested on:

Server:

  • Microsoft Windows Server 2008 R2

Client:

  • RHEL 7
  • CentOS 6
  • CentOS 5
  • Oracle Enterprise Linux 6

Development

Contributions:

  • John Richards jrichards03@gmail.com (MOD) original bash service script this module was based on
  • Justin Dossey justin.dossey@newcontext.com (New Context) for the elegant sed
  • TomyWork (IRC #puppet) for the helping me figure out the operator and shell provider for unless
Contact

Email: morgan@aspendenver.org

WWW: www.aspendenver.org

Github: https://github.com/swizzley