Skip to content

codenio/steampipe-plugin-pdns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PowerDNS Plugin for Steampipe

Use SQL to query zones, records, statistics and more from PowerDNS.

Quick start

Install the plugin with Steampipe:

steampipe plugin install codenio/pdns

Configure the PowerDNS connection:

cp config/* ~/.steampipe/config
vi ~/.steampipe/config/pdns.spc

Run a query:

select 
  name,
  kind,
  dnssec,
  serial 
from 
  pdns_zone;

Available Tables

  • pdns_zone - DNS zones managed by PowerDNS
  • pdns_record - DNS records within zones
  • pdns_statistic - PowerDNS server statistics
  • pdns_config - PowerDNS server configuration

Developing

Prerequisites:

Clone:

git clone https://github.com/codenio/steampipe-plugin-pdns.git
cd steampipe-plugin-pdns

Build, which automatically installs the new version to your ~/.steampipe/plugins directory:

make

Configure the plugin:

cp config/* ~/.steampipe/config
vi ~/.steampipe/config/pdns.spc

Try it!

steampipe query
> .inspect pdns

Further reading:

Open Source & Contributing

This repository is published under the Apache 2.0 (source code) and CC BY-NC-ND (docs) licenses. Please see our code of conduct. We look forward to collaborating with you!

Steampipe is a product produced from this open source software, exclusively by Turbot HQ, Inc. It is distributed under our commercial terms. Others are allowed to make their own distribution of the software, but cannot use any of the Turbot trademarks, cloud services, etc. You can learn more in our Open Source FAQ.

Get Involved

Join #steampipe on Slack →

Want to help but don't know where to start? Pick up one of the help wanted issues:

About

Use SQL to instantly query PowerDNS resources. Open source CLI. No DB required.

Topics

Resources

License

Stars

Watchers

Forks

Packages