项目作者: SoylentBob

项目描述 :
A docker based nsd testbed
高级语言: DIGITAL Command Language
项目地址: git://github.com/SoylentBob/nsd-testbed.git
创建时间: 2018-12-19T19:33:20Z
项目社区:https://github.com/SoylentBob/nsd-testbed

开源协议:

下载


nsd testbed

A simple docker based nsd testbed.

This is not intended to be used in a production setup.

Usage

Just run make to build and run the testbed on your computer.

After that you can send queries to the server like this:

$ dig SOA example.com @127.0.0.1 -p 8053

By default the files from the ./config/ directory are mounted into the docker container.
Zonefiles reside in the ./config/zonefiles/ directory.

If you want to make changes to the config (./config/nsd.conf) or any of the zones just edit the files in your working directory and then save it.

The scripts ./scripts/watch-nsd-config and ./scripts/watch-zonefiles are used to watch for modifications on the respective files.
They use the nsd-checkconf and nsd-checkzone binaries to make sure that your changes are valid.