dns: got reverse dns working

This commit is contained in:
silver 2023-06-17 00:59:22 +01:00
parent 6585a3c88a
commit 9b1a936f03
10 changed files with 41 additions and 13 deletions

View file

@ -38,7 +38,7 @@ in {
"${name} A ${ip_pub}"
];
reverse = [
"${builtins.substring 9 3 ip_pub} IN PTR ${name}"
"${builtins.substring 9 3 ip_pub} IN PTR ${hostname}."
];
};