DNS automation with Chef

Use our cookbook to configure your DNS

Chez dnsimple
Opensource

Open source

Contribute and help the cookbook improve.

Supermarket

Available at the Supermarket

Get up and running quickly.

Metrics

Quality metrics

We are part of the Partner Cookbook Program.


How to use it

A Resource supporting automatic DNS configuration via DNSimple's API.

Create records

dnsimple_record "create an A record" do
  name     "test"
  content  "16.8.4.2"
  type     "A"
  domain   "example.com"
  username chef_vault_item("secrets", "dnsimple_username")
  token    chef_vault_item("secrets", "dnsimple_token")
  action   :create
end

Remove records

dnsimple_record "Delete www record" do
  name     "www"
  type     "CNAME"
  domain   "example.com"
  username chef_vault_item("secrets", "dnsimple_username")
  token    chef_vault_item("secrets", "dnsimple_token")
  action   :destroy
end

Powered with DNSimple's API

Robust and well documented.

Our API is the magic sauce that makes this cookbook so unique. It's easy to mix in and customize to your needs.

Api

Chef

We are stoked to be part of the Chef Partner Cookbook Program!