diff options
author | Vincent Ambo <mail@tazj.in> | 2022-01-29T13·58+0300 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2022-01-29T14·51+0000 |
commit | 88595c23ce0739f0afaacccf500e51dba2ce7220 (patch) | |
tree | 84967b8685b3b9911b6eaf24497cda9be4cce3fe /ops/glesys | |
parent | 19d7ccf87f482e083c56a6216b92ece731254138 (diff) |
feat(ops/glesys): Move tvl.su email over to Yandex 360 r/3703
This fixes b/158 Change-Id: Ie58737dfe144a342b6d4d30f72ec60d70405af31 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5110 Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
Diffstat (limited to 'ops/glesys')
-rw-r--r-- | ops/glesys/dns-tvl-su.tf | 57 |
1 files changed, 18 insertions, 39 deletions
diff --git a/ops/glesys/dns-tvl-su.tf b/ops/glesys/dns-tvl-su.tf index a607d79d0d71..18f581132aa4 100644 --- a/ops/glesys/dns-tvl-su.tf +++ b/ops/glesys/dns-tvl-su.tf @@ -62,68 +62,47 @@ resource "glesys_dnsdomain_record" "tvl_su_wildcard" { data = "whitby.tvl.su." } -# # Google Domains mail forwarding configuration (no sending) -resource "glesys_dnsdomain_record" "tvl_su_MX_aspmx" { - domain = glesys_dnsdomain.tvl_su.id - host = "@" - type = "MX" - data = "1 aspmx.l.google.com." -} - -resource "glesys_dnsdomain_record" "tvl_su_MX_alt1" { +resource "glesys_dnsdomain_record" "tvl_su_TXT_google_site" { domain = glesys_dnsdomain.tvl_su.id host = "@" - type = "MX" - data = "5 alt1.aspmx.l.google.com." + type = "TXT" + data = "google-site-verification=3ksTBzFK3lZlzD3ddBfpaHs9qasfAiYBmvbW2T_ejH4" } -resource "glesys_dnsdomain_record" "tvl_su_MX_alt2" { - domain = glesys_dnsdomain.tvl_su.id - host = "@" - type = "MX" - data = "5 alt2.aspmx.l.google.com." -} +# Yandex 360 setup -resource "glesys_dnsdomain_record" "tvl_su_MX_alt3" { +resource "glesys_dnsdomain_record" "tvl_su_TXT_yandex" { domain = glesys_dnsdomain.tvl_su.id host = "@" - type = "MX" - data = "10 alt3.aspmx.l.google.com." + type = "TXT" + data = "yandex-verification: b99c43b7838949dc" } -resource "glesys_dnsdomain_record" "tvl_su_MX_alt4" { +resource "glesys_dnsdomain_record" "tvl_su_MX_yandex" { domain = glesys_dnsdomain.tvl_su.id host = "@" type = "MX" - data = "10 alt4.aspmx.l.google.com." + data = "10 mx.yandex.net." } -resource "glesys_dnsdomain_record" "tvl_su_TXT_google_site" { +resource "glesys_dnsdomain_record" "tvl_su_TXT_yandex_spf" { domain = glesys_dnsdomain.tvl_su.id host = "@" type = "TXT" - data = "google-site-verification=3ksTBzFK3lZlzD3ddBfpaHs9qasfAiYBmvbW2T_ejH4" -} + data = "v=spf1 redirect=_spf.yandex.net" -resource "glesys_dnsdomain_record" "tvl_su_TXT_google_spf" { - domain = glesys_dnsdomain.tvl_su.id - host = "@" - type = "TXT" - data = "v=spf1 include:_spf.google.com ~all" } -resource "glesys_dnsdomain_record" "tvl_su_TXT_google_dkim" { +resource "glesys_dnsdomain_record" "tvl_su_TXT_yandex_dkim" { domain = glesys_dnsdomain.tvl_su.id - host = "google._domainkey" + host = "mail._domainkey" type = "TXT" - data = "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlqCbnGa8oPwrudJK60l6MJj3NBnwj8wAPXNGtYy2SXrOBi7FT+ySwW7ATpfv6Xq9zGDUWJsENPUlFmvDiUs7Qi4scnNvSO1L+sDseB9/q1m3gMFVnTuieDO/T+KKkg0+uYgMM7YX5PahsAAJJ+EMb/r4afl3tcBMPR64VveKQ0hiSHA4zIYPsB9FB+b8S5C46uyY0r6WR7IzGjq2Gzb1do0kxvaKItTITWLSImcUu5ZZuXOUKJb441frVBWur5lXaYuedkxb1IRTTK0V/mBODE1D7k73MxGrqlzaMPdCqz+c3hRE18WVUkBTYjANVXDrs3yzBBVxaIAeu++vkO6BvQIDAQAB" + data = "v=DKIM1; k=rsa; t=s; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDaRdWF8BtCHlTTQN8O+E5Qn27FVIpUEAdk1uq2vdIKh1Un/3NfdWtxStcS1Mf0iEprt1Fb4zgWOkDlPi+hH/UZqiC9QNeNqEBGMB9kgJyfsUt6cDCIVGvn8PT9JcZW1jxSziOj8nUWB4noqbaVcQNqNbwtaHPm3aifwKwScxVO7wIDAQAB" } -# Yandex 360 setup - -resource "glesys_dnsdomain_record" "tvl_su_TXT_yandex" { +resource "glesys_dnsdomain_record" "tvl_su_CNAME_yandex_mail" { domain = glesys_dnsdomain.tvl_su.id - host = "@" - type = "TXT" - data = "yandex-verification: b99c43b7838949dc" + host = "mail" + type = "CNAME" + data = "domain.mail.yandex.net." } |