Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.
/ dns-catalog_zone Public archive

PoC of Catalog zones (draft-muks-dnsop-dns-catalog-zones)

License

Notifications You must be signed in to change notification settings

mimuret/dns-catalog_zone

Repository files navigation

Dns::CatalogZone

Build Status Coverage Status

PoC of catalog zone (draft-muks-dnsop-dns-catalog-zones) README in Japanese

supported name server softwares

  • NSD4 (default)
  • Knot dns
  • YADIFA

Installation

$ git clone https://github.com/mimuret/dns-catalog_zone
$ cd dns-catalog_zone
$ bundle install --path=vendor/bundle

Usage

  • configuration

make CatalogZone file.

$ bundle exec catz init
$ cat CatalogZone

CatalogZone below

setting("catalog.example.jp") do |s|
	s.software="nsd"
	s.source="file"
	s.zonename="catalog.example.jp"
	s.zonefile="/etc/nsd/catalog.example.jp.zone"
end
  • make name server config

config output to stdout

$ bundle exec catz make

Settings attribute

name value default description
zonename string(domain name) catalog.example catalog zone domain name
software string nsd software module name
source string file source module name
output string stdout output module name

source modules

file module

name value required
source file true
zonefile path true

axfr module

name value default required
source axfr true
server ip or hostname true
port int 53 false
tsig string false
src_address ip false
timeout int 30 false

software modules

nsd module

name value required
software nsd

knot module

name value required
software knot

yadifa module

name value required
software yadifa

output modules

stdout module

name value required
output stdout

file module

name value required
output file
output_path path true

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/mimuret/dns-catalog_zone.

OR make Dns::CatalogZone::Provider::(Software) gem

License

The gem is available as open source under the terms of the MIT License.

About

PoC of Catalog zones (draft-muks-dnsop-dns-catalog-zones)

Resources

License

Stars

Watchers

Forks

Packages

No packages published