feat(unbound): adding manual traefik data
This commit is contained in:
@@ -20,11 +20,6 @@
|
|||||||
)
|
)
|
||||||
svcNames);
|
svcNames);
|
||||||
|
|
||||||
revParts = lib.lists.reverseList (lib.splitString "." srv.ip);
|
|
||||||
revName = lib.concatStringsSep "." revParts;
|
|
||||||
|
|
||||||
localPTRs = ["${revName}.in-addr.arpa. PTR traefik.${srv.domain}"];
|
|
||||||
|
|
||||||
hostIp = hostname:
|
hostIp = hostname:
|
||||||
if hostname == "ziggy"
|
if hostname == "ziggy"
|
||||||
then "192.168.88.12"
|
then "192.168.88.12"
|
||||||
@@ -116,10 +111,11 @@ in {
|
|||||||
"255.255.255.255/32"
|
"255.255.255.255/32"
|
||||||
"2001:db8::/32"
|
"2001:db8::/32"
|
||||||
];
|
];
|
||||||
local-data = localARecords;
|
local-data =
|
||||||
|
[
|
||||||
# Example PTR entry: "14.88.168.192.in-addr.arpa. PTR traefik.cnix.dev."
|
''"traefik.${config.settings.accounts.domains.local}. A 192.168.88.14"''
|
||||||
# local-data-ptr = localPTRs;
|
]
|
||||||
|
++ localARecords;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user