A moonshine plugin for installing and configuring dnsmasq.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/moonshine
moonshine
templates
README.md

README.md

moonshine_dnsmasq

This is a Moonshine plugin to manage dnsmasq, which is a handy way to deal with flakey DNS servers and increase performance when doing lookups.

Requirements

Configuration

Add this to your manifest:

include Moonshine::Dnsmasq

There's only one configuration option currently, so here's what your dnsmasq section in moonshine.yml should look like:

:dnsmasq:
  :cache_size: 256

You should also add this line to your application manifest:

recipe :dnsmasq

You'll also need to change your resolv.conf and add the following line to the top, before the other nameservers:

nameserver 127.0.0.1

And that's it!


Unless otherwise specified, all content copyright © 2014, Rails Machine, LLC