Zonebuild
Generate DNS zones from dn42 registry data
Install / Use
/learn @nixnodes/ZonebuildREADME
zonebuild
- Generate DNS zones from dn42 registry files
Installation
-
Prepare:
apt-get update apt-get install bind9 monotone git python3 cd /etc/bind -
Clone:
git clone git://github.com/nixnodes/zonebuild.git -
Compile and install zbuild:
cd zonebuild
make clean
./configure
sudo make install
-
Configure:
vi scripts/config.userREGISTRY_BASE_PATH=/etc/bind REGISTRY_PATH=${REGISTRY_BASE_PATH}/net.dn42.registry/data OUT_PATH=/etc/bind- Data is written in
$OUT_PATH/<tier[0-2]|res|ipv6>/ - Registry repo will be created in
$REGISTRY_BASE_PATH
Default settings are stored in
scripts/config, all changes should be put inscripts/config.user - Data is written in
Run:
Execute with absolute path:
-
Build reverse and forward tier1 and tier2 zones, self update before running:
/etc/bind/zonebuild/scripts/run.sh arpa zone -update- include "$REGISTRY_BASE_PATH/tier<1|2>/named.conf";
-
Build root zones (<a-z>.root-servers.dn42):
/etc/bind/zonebuild/scripts/run.sh root -update- include "$REGISTRY_BASE_PATH/tier0/named.conf";
-
Build resolver files:
/etc/bind/zonebuild/scripts/run.sh res -update- include "$REGISTRY_BASE_PATH/res/named.conf";
- NOTE you have to restart your bind the first time you include this configuration,
after running
rndc reloadthe new root hints will not be used.
Related Skills
node-connect
352.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
