unbound: fix tailscale reverse lookup
This commit is contained in:
parent
70075b6cef
commit
81596f07dc
1 changed files with 13 additions and 10 deletions
|
@ -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.";
|
||||
|
|
Loading…
Reference in a new issue