cookbook 'bind9-easy', '= 0.1.0'
bind9-easy (5) Versions 0.1.0 Follow2
Installs and autoconfigures bind9 nameserver
cookbook 'bind9-easy', '= 0.1.0', :supermarket
knife supermarket install bind9-easy
knife supermarket download bind9-easy
Autoconfigures bind9 Server the easy way.
Never update your ID again!
Implements a Zone LWRP searching chef and using user input to find all clients.
- Transfer servers
- Custom zone entries
- Reverse zones
I am running on an ubuntu server - please report other platforms!
List of forwarders where requests should be forwarded to.
default['bind']['forward'] = Array.new
List of servers where zone updates should be transferred to.
default['bind']['transfer'] = Array.new
Most complex setup:
bind9_easy_zone "example.com" do
email "hostmaster.example.com" #convert your emailaddress-@ into a .
"@" => "192.168.178.10",
"not-a-chef-client" => "192.168.178.250", #results in a A record
"my-hot-box" => "not-a-chef-client" #results in a CNAME record
node.set['bind']['transfer'] = ["192.168.178.1","192.168.178.2"]
node.set['bind']['forward'] = ["22.214.171.124", "126.96.36.199"]
Make sure to set up all zones, before calling the recipe.
Recipe writes named.conf.local and makes zones known to bind.
See resources/zone.rb for more zone-file attributes for bind9_easy_zone
- Add NS slave recipe
- Add ipv6
This cookbook has no specified dependencies.
There are no cookbooks that are contingent upon this one.