aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-07-23 20:22:17 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2024-07-23 20:22:17 +0200
commit99bbaa8f3441471f13305ae9abab454cd1410fc1 (patch)
treee4cef6796f39eddae38f61c84724e1997da84fce
parent24d2f4a663bcee13d11d2fbae7cec217576e9522 (diff)
downloadinfra-99bbaa8f3441471f13305ae9abab454cd1410fc1.tar.gz
infra-99bbaa8f3441471f13305ae9abab454cd1410fc1.tar.bz2
infra-99bbaa8f3441471f13305ae9abab454cd1410fc1.tar.xz
infra-99bbaa8f3441471f13305ae9abab454cd1410fc1.zip
dns cleanup
-rw-r--r--terraform/dns/trygvis.tf27
1 files changed, 14 insertions, 13 deletions
diff --git a/terraform/dns/trygvis.tf b/terraform/dns/trygvis.tf
index 7644e41..3b81b11 100644
--- a/terraform/dns/trygvis.tf
+++ b/terraform/dns/trygvis.tf
@@ -17,6 +17,14 @@ resource "linode_domain_record" "root-a" {
target = "176.58.112.84"
}
+resource "linode_domain_record" "root-mx" {
+ domain_id = linode_domain.root.id
+ name = ""
+ record_type = "MX"
+ target = "knot.inamo.no"
+ priority = 10
+}
+
resource "linode_domain_record" "root-txt-google" {
domain_id = linode_domain.root.id
name = ""
@@ -39,12 +47,12 @@ resource "linode_domain_record" "root-txt-keybase" {
target = "keybase-site-verification=gcoO7zav4G2IK5KQdrWOgz_PD9wpZhz-0afIb1Kodrk"
}
-resource "linode_domain_record" "root-txt-protonmail" {
- domain_id = linode_domain.root.id
- name = ""
- record_type = "TXT"
- target = "protonmail-verification=040b9503f0fe071ec3dfbe5b1c588d384ebec74a"
-}
+# resource "linode_domain_record" "root-txt-protonmail" {
+# domain_id = linode_domain.root.id
+# name = "trygvis.io"
+# record_type = "TXT"
+# target = "protonmail-verification=040b9503f0fe071ec3dfbe5b1c588d384ebec74a"
+# }
resource "linode_domain_record" "root-cname-ses-1" {
domain_id = linode_domain.root.id
@@ -60,13 +68,6 @@ resource "linode_domain_record" "root-cname-ses-2" {
target = "imtuzw2lnfktlc7uongw433qbwjxxatg.dkim.amazonses.com"
}
-resource "linode_domain_record" "dlock" {
- domain_id = linode_domain.root.id
- name = "dlock"
- record_type = "A"
- target = "35.205.192.14"
-}
-
resource "linode_domain_record" "hash" {
domain_id = linode_domain.root.id
name = "hash"