Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

dns_caching (3) Versions 1.1.1

Installs dnsmasq to provide DNS caching

Policyfile
Berkshelf
Knife
cookbook 'dns_caching', '= 1.1.1', :supermarket
cookbook 'dns_caching', '= 1.1.1'
knife supermarket install dns_caching
knife supermarket download dns_caching
README
Dependencies
Quality 100%

Description

This cookbook installs and configures dnsmasq for local DNS caching. It relies on Opscode's resolver cookbook to update /etc/resolv.conf on all systems except Ubuntu 12+ systems.

Requirements

Tested on Ubuntu, RHEL, and CentOS systems.

Usage

Create resolver attributes to define DNS nameservers and search domains, preferably at the environment level. The first DNS nameserver defined must be the loopback interface address, usually 127.0.0.1. Once the dns_caching cookbook is assigned to a node and the resolver attributes are defined, the default recipe will install dnsmasq and use the resolver cookbook to update /etc/resolv.conf. On Ubuntu 12+ systems, the resolver cookbook is not used and instead dnsmasq is configured to ignore /etc/resolv.conf and other configuration files created by resolvconf and instead use it's own configuration for nameserver definitions. The resolvconf service will automatically update /etc/resolv.conf to direct DNS requests to dnsmasq once the package is installed.

Dependent cookbooks

resolver ~> 1.1.4

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

1.1.1 passed this metric