dns: added a reverse dns option

This commit is contained in:
silver 2023-05-21 19:05:47 +01:00
parent d3e1e3e67f
commit be0868b860
6 changed files with 23 additions and 3 deletions

View file

@ -54,6 +54,9 @@ in {
# the games are each going to have a subdomain on this
"games CNAME ${name}"
];
reverse = [
"${builtins.substring 9 3 ip_pub} IN PTR ${name}"
];
};
# we use this to pass in teh relevent infomation to the