- From: Vincent Jorgensen <
>
- To: "<
>" <
>
- Subject: [chef] Re: DNS server cookbook that integrates well with chef
- Date: Tue, 20 Dec 2011 05:22:29 +0000
- Accept-language: en-US
Not a bad idea… if I could move where the domains are hosts I cannot :-( We
are a GoDaddy shop for our public-facing enterprise. This just needs to be
something to replace the Windows Server DNS that my predecessors left me.
On Dec 19, 2011, at 8:17 PM, AJ Christensen wrote:
>
Try this dnsimple cookbook, it uses the API to add records.
>
>
https://github.com/heavywater/chef-dnsimple
>
>
--AJ
>
>
On 20 December 2011 17:11, Vincent Jorgensen
>
<
>
>
wrote:
>
> Hi all!
>
>
>
> I'm an avid chef user and recent convert to the chef way and ruby way. I'm
>
> a frequent reader of the list, but this is my first post, so if this is
>
> out of line for this list, let me know and I'll post my question elsewhere.
>
>
>
> I'm looking for a good cookbook for use with chef for a simple local DNS
>
> solution. Basically, what I want is to be able to do this (or something
>
> similar):
>
>
>
> nodes=search(:nodes,"*:")
>
> nodes.each do |n|
>
> dns_server "add-n-to-dns-server" do
>
> name n[:server_name] + "." + node.chef_environment # e.g.
>
> server001.testing
>
> type "host"
>
> ipaddress n[:ipaddress]
>
> action :add
>
> not_if <entry already exists> # or have the dns provider handle this
>
> provision
>
> done
>
> done
>
>
>
> Then point my local servers to use the server running this cookbook as
>
> their primary DNS for local resolution
>
>
>
> I've been toying with djbdns all day, but it isn't working as advertised.
>
> One, it isn't centos ready, and the bluepill code isn't finished for the
>
> server config. Is there a simple DNS cookbook that's pre-baked that might
>
> work for me? I'm even willing to use bind if it "just works".
>
>
>
> Thanks in advance. And for all the developers who read this list, thank
>
> you for all you do. Chef is great!
>
>
>
> Best,
>
> Vincent
Archive powered by MHonArc 2.6.16.