DNS automation with Chef

Use our cookbook to configure your DNS

Open source

Contribute and help the cookbook improve.

Available at the Supermarket

Get up and running quickly.

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'
  access_token  chef_vault_item('secrets', 'dnsimple_token')
  action        :create
end
    

Update records

dnsimple_record 'Update an A record' do
  name          'test'
  content       node['ipaddress']
  type          'A'
  domain        'example.com'
  access_token  chef_vault_item('secrets', 'dnsimple_token')
  action        :update
end
    

Remove records

dnsimple_record 'Delete www record' do
  name          'www'
  type          'CNAME'
  domain        'example.com'
  access_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.


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