1
0
Fork 0

unbound: fix tailscale reverse lookup

This commit is contained in:
Daniel Kempkens 2024-07-20 18:15:04 +02:00
parent 70075b6cef
commit 81596f07dc
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM

View file

@ -1,3 +1,5 @@
{ lib, ... }:
{
services.unbound = {
enable = true;
@ -39,16 +41,17 @@
];
};
forward-zone = [
# {
# name = "10.64.100.in-addr.arpa.";
# forward-addr = "100.100.100.100";
# }
#
# {
# name = "0.1.0.1.0.e.1.a.c.5.1.1.a.7.d.f.ip6.arpa.";
# forward-addr = "100.100.100.100";
# }
forward-zone = (builtins.map
(octet:
{
name = "${builtins.toString octet}.100.in-addr.arpa.";
forward-addr = "100.100.100.100";
})
(lib.range 64 127)) ++ [
{
name = "0.0.0.0.0.0.0.0.0.0.0.0.0.e.1.a.c.5.1.1.a.7.d.f.ip6.arpa.";
forward-addr = "100.100.100.100";
}
{
name = "in-addr.arpa.";