Month: February 2017

How to build internal DNS with nsd & unbound

Introduction This post is about configuring a DNS infrastructure for the internal network using the two daemons nsd(8) and unbound(8). Both daemons are part of the OpenBSD base system, you don’t need to install any packages. NSD will be the authoritative name server for the internal DNS zone. Unbound will provide name resoultion services for…


Vim syntax file for httpd.conf

The httpd(8) daemon of OpenBSD is the default webserver in the base system. The syntax of its configuration file httpd.conf(5) is similar to the one of relayd(8). So it was easy to create the Vim syntax file for httpd.conf(5): httpd.vim Download the file and save it to ~/.vim/syntax/. For autodetection to work you can add…


Vim syntax file for relayd.conf

The relayd(8) daemon of OpenBSD is very useful for different purposes. I’ve started to play with relayd in my lab environment. One outcome of this is the Vim syntax file for relayd.conf(5): relayd.vim Download the and save it to ~/.vim/syntax/. For autodetection to work you can add the following line to ~/.vim/filetype.vim: au! BufRead,BufNewFile relayd.conf…