mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 06:19:11 +00:00
hosts/plover: update Bind config generation
This commit is contained in:
parent
069723d38a
commit
c35b72352e
@ -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, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
@ -162,6 +165,8 @@ in
|
|||||||
in-view internal;
|
in-view internal;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
${cfg.extraConfig}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -298,7 +303,7 @@ in
|
|||||||
'';
|
'';
|
||||||
kTLS = true;
|
kTLS = true;
|
||||||
locations = {
|
locations = {
|
||||||
"/".return = "404";
|
"/".return = "444";
|
||||||
"/dns-query".extraConfig = ''
|
"/dns-query".extraConfig = ''
|
||||||
grpc_pass grpcs://local-dns;
|
grpc_pass grpcs://local-dns;
|
||||||
grpc_socket_keepalive on;
|
grpc_socket_keepalive on;
|
||||||
|
Loading…
Reference in New Issue
Block a user