Skip to content

creamfinance/coredns-dbcheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:coredns@127.0.0.1/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.

About

Database Plugin for CoreDNS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages