Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 903 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 903 Bytes

CoreDNS DB Check

This plugin allows CoreDNS to check PTR, A and AAAA in a postgres database.

Installation

Compile CoreDNS with the edited plugin.cfg

dnssec:dnssec
dbcheck:github.com/creamfinance/coredns-dbcheck
reverse:reverse

It may be possible that there are vendoring conflicts, for reproduceable results build in a container and move all vendored go modules from coredns into the global GOPATH.

Configuration

Add the following section to your config file to enable the plugin.

   dbcheck {
      fallthrough
      database postgres
      connection_string postgres://coredns:[email protected]/coredns?sslmode=disable
   }

DB Setup

Execute the provided db.sql file.

Merge Requests

Merge requests for:

  • additional type handling
  • multi value handling
  • dynamic tables (without the fixed structure)
  • database support (for mysql, oracle, etc)

are welcome.