Giter Club home page Giter Club logo

named-acme-policy's Introduction

In a nutshell, this project allows to securely configure ISC bind for automatic certificate issuing using ACME DNS-01 challenge (for example https://letsencrypt.org/docs/challenge-types/#dns-01-challenge).

This is an external named(8) update-policy decider daemon that allows dynamic DNS (RFC 2136) update requests if they are part of an Automatic Certificate Management Environment (ACME) DNS-01 challenge, for example, as used by Let's Encrypt's certbot client. This daemon implements a more secure permissions model than the built-in named(8) mechanisms allow for automated certificate issuance using DNS-01 challenge via RFC 2136.

The daemon allows dynamic DNS updates if they meet the following criteria:

  • Name of the DNS resource record being updated starts with _acme-challenge..
  • The update request has been signed by a specific TSIG key/identity.
  • The domain name of the challenge (the part after _acme-challenge.) resolves to the IP address from which the update request originated.

For instructions on how to integrate this daemon with named(8) see https://bind9.readthedocs.io/en/latest/reference.html#namedconf-statement-update-policy

Basically this comes down to having something like the following in a zone configuration file:

    ...
    update-policy {
        grant "local:/path/to/socket" external *; 
    ...

(the '*' is there just to satisfy the config parser: replacing it with any other string wouldn't change anything.)

named-acme-policy's People

Contributors

vbrik avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.