From c35b72352e35c5937d9af5b339a3e3daa2964e62 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Sun, 8 Oct 2023 03:26:07 +0800 Subject: [PATCH] hosts/plover: update Bind config generation --- hosts/plover/modules/services/bind.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/hosts/plover/modules/services/bind.nix b/hosts/plover/modules/services/bind.nix index ee6eab8f..9fff86bd 100644 --- a/hosts/plover/modules/services/bind.nix +++ b/hosts/plover/modules/services/bind.nix @@ -1,3 +1,6 @@ +# The DNS server for my domains. Take note it uses a hidden master setup with +# the secondary nameservers of the service (as of 2023-10-05, we're using +# Hetzner's secondary nameservers). { config, lib, pkgs, ... }: let @@ -162,6 +165,8 @@ in in-view internal; }; }; + + ${cfg.extraConfig} ''; }; @@ -298,7 +303,7 @@ in ''; kTLS = true; locations = { - "/".return = "404"; + "/".return = "444"; "/dns-query".extraConfig = '' grpc_pass grpcs://local-dns; grpc_socket_keepalive on;