Giter Site home page Giter Site logo

certbot-pdns-proxy's Introduction

CertBot PowerDNS Proxy

Authentication with regex-based authorization for PowerDNS 4.1, designed for CertBot.

Build Status Go Report Card

Setup

Install from source

You need go and GOBIN in your PATH. Once that is done, install dyndns-pdns using the following command:

go get -u github.com/joeig/certbot-pdns-proxy

After that, copy config.dist.yml to config.yml, replace the default settings and run the binary:

certbot-pdns-proxy -config=/path/to/config.yml

If you're intending to add the application to your systemd runlevel, you may want to take a look at init/certbot-pdns-proxy.service.

Usage

Use in combination with CertBot

Deploy scripts/authenticator.sh and scripts/cleanup.sh on your servers and change the proxy URL.

You need to add your API credentials to ~/.netrc as following:

machine 127.0.0.1
  login foo
  password bar

Pass the scripts to CertBot:

certbot certonly --manual --preferred-challenges=dns --manual-auth-hook /path/to/authenticator.sh --manual-cleanup-hook /path/to/cleanup.sh -d secure.example.com

FAQ

  • Q: How can I increase the SOA's serial automatically?
    A: Set the SOA-EDIT-API metadata to a value of your choice, for instance pdnsutil set-meta example.com SOA-EDIT-API INCEPTION-INCREMENT. There might be a default setting in the future.

certbot-pdns-proxy's People

Contributors

joeig avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  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.