DNS records cleanup

This commit is contained in:
kat witch 2021-09-01 22:35:07 +01:00
parent 9f953e7465
commit 2b9ebd8877
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
15 changed files with 135 additions and 120 deletions

View file

@ -10,8 +10,8 @@
};
deploy.tf.dns.records.services_filehost = {
tld = config.network.dns.tld;
inherit (config.network.dns) zone;
domain = "files";
cname.target = "${config.networking.hostName}.${config.network.dns.tld}";
cname = { inherit (config.network.addresses.public) target; };
};
}