Configuring HTTP3 on nginx and NixOS

HTTP/3 is the latest version of the HTTP protocol, built on top of QUIC transport protocol. It offers improved performance, especially on unreliable networks, and better connection handling. In this post, I’ll show you how to enable HTTP/3 on NixOS using nginx. Prerequisites To use HTTP/3, you’ll need: NixOS (any recent version) A domain name SSL certificate (we’ll use Let’s Encrypt) Firewall Configuration First, we need to open the necessary ports. HTTP/3 uses UDP port 443 for QUIC, alongside the traditional TCP ports: ...

February 25, 2025 · Alexander Holte-Davidsen

Redundant DNS Infrastructure with Knot DNS and DNSSEC

Introduction In this post, I’ll walk through setting up a complete, redundant DNS infrastructure using NixOS, Knot DNS, and DNSSEC. I’ll provide ready-to-use configurations for both master and slave servers. Directory Structure nix-config/ ├── hosts/ │ ├── master/ │ │ ├── default.nix │ │ └── zones/ │ │ ├── example.com.zone │ │ └── example.org.zone │ └── slave/ │ └── default.nix Zone Files First, let’s look at our zone files that will be stored in version control: ...

January 23, 2025 · Alexander Holte-Davidsen