dns: added a reverse dns option
This commit is contained in:
parent
d3e1e3e67f
commit
be0868b860
6 changed files with 23 additions and 3 deletions
|
@ -36,9 +36,14 @@ in {
|
|||
};
|
||||
|
||||
# add this server to dns
|
||||
skynet_dns.records.external = [
|
||||
"${name} A ${ip_pub}"
|
||||
];
|
||||
skynet_dns.records = {
|
||||
external = [
|
||||
"${name} A ${ip_pub}"
|
||||
];
|
||||
reverse = [
|
||||
"${builtins.substring 9 3 ip_pub} IN PTR ${name}"
|
||||
];
|
||||
};
|
||||
|
||||
# we use this to pass in teh relevent infomation to the
|
||||
services.skynet_ldap = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue