diff options
author | Vincent Ambo <tazjin@google.com> | 2019-07-02T11·48+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2019-07-02T11·48+0100 |
commit | a131b3051428d3abe220d172f93d09880b96222f (patch) | |
tree | 2ba11e900c675d3d2ad39e713554b3a6e2f10d1d /infra/dns | |
parent | 1109e449efbc9a0dab8c4e88e07337a318e21f09 (diff) |
refactor(infra): Move infrastructure into monorepo structure
Diffstat (limited to 'infra/dns')
-rwxr-xr-x | infra/dns/import | 11 | ||||
-rw-r--r-- | infra/dns/kontemplate-works | 15 | ||||
-rw-r--r-- | infra/dns/oslo-pub | 8 | ||||
-rw-r--r-- | infra/dns/root-tazj-in | 28 |
4 files changed, 62 insertions, 0 deletions
diff --git a/infra/dns/import b/infra/dns/import new file mode 100755 index 000000000000..e79e426b5553 --- /dev/null +++ b/infra/dns/import @@ -0,0 +1,11 @@ +#!/bin/sh +set -ue + +# Imports a zone file into a Google Cloud DNS zone of the same name +readonly ZONE="${1}" + +gcloud dns record-sets import "${ZONE}" \ + --project composite-watch-759 \ + --zone-file-format \ + --delete-all-existing \ + --zone "${ZONE}" diff --git a/infra/dns/kontemplate-works b/infra/dns/kontemplate-works new file mode 100644 index 000000000000..326a129d2105 --- /dev/null +++ b/infra/dns/kontemplate-works @@ -0,0 +1,15 @@ +;; -*- mode: zone; -*- +;; Do not delete these +kontemplate.works. 21600 IN NS ns-cloud-d1.googledomains.com. +kontemplate.works. 21600 IN NS ns-cloud-d2.googledomains.com. +kontemplate.works. 21600 IN NS ns-cloud-d3.googledomains.com. +kontemplate.works. 21600 IN NS ns-cloud-d4.googledomains.com. +kontemplate.works. 21600 IN SOA ns-cloud-d1.googledomains.com. cloud-dns-hostmaster.google.com. 4 21600 3600 259200 300 + +;; Github site setup +kontemplate.works. 60 IN A 185.199.108.153 +kontemplate.works. 60 IN A 185.199.109.153 +kontemplate.works. 60 IN A 185.199.110.153 +kontemplate.works. 60 IN A 185.199.111.153 + +www.kontemplate.works. 60 IN CNAME tazjin.github.io. diff --git a/infra/dns/oslo-pub b/infra/dns/oslo-pub new file mode 100644 index 000000000000..674687484b90 --- /dev/null +++ b/infra/dns/oslo-pub @@ -0,0 +1,8 @@ +;; Do not delete these +oslo.pub. 21600 IN NS ns-cloud-c1.googledomains.com. +oslo.pub. 21600 IN NS ns-cloud-c2.googledomains.com. +oslo.pub. 21600 IN NS ns-cloud-c3.googledomains.com. +oslo.pub. 21600 IN NS ns-cloud-c4.googledomains.com. +oslo.pub. 21600 IN SOA ns-cloud-c1.googledomains.com. cloud-dns-hostmaster.google.com. 4 21600 3600 1209600 300 + +oslo.pub. 60 IN A 46.21.106.241 diff --git a/infra/dns/root-tazj-in b/infra/dns/root-tazj-in new file mode 100644 index 000000000000..80ea9e298e70 --- /dev/null +++ b/infra/dns/root-tazj-in @@ -0,0 +1,28 @@ +;; Do not delete these +tazj.in. 21600 IN NS ns-cloud-a1.googledomains.com. +tazj.in. 21600 IN NS ns-cloud-a2.googledomains.com. +tazj.in. 21600 IN NS ns-cloud-a3.googledomains.com. +tazj.in. 21600 IN NS ns-cloud-a4.googledomains.com. +tazj.in. 21600 IN SOA ns-cloud-a1.googledomains.com. cloud-dns-hostmaster.google.com. 109 21600 3600 1209600 300 + +;; Email setup +tazj.in. 300 IN MX 10 mx.runbox.com. +tazj.in. 300 IN TXT "v=spf1 redirect=spf.runbox.com" + +;; Site verifications +tazj.in. 3600 IN TXT "keybase-site-verification=gC4kzEmnLzY7F669PjN-pw2Cf__xHqcxQ08Gb-W9dhE" +tazj.in. 3600 IN TXT "google-site-verification=8ila9SmLtwSOlciHpmst-RG_Z-peiV5PevEVyaeL0Z0" +tazj.in. 3600 IN TXT "detectify-verification=b2eab87b05e615c13d8907d47eddfcad" +www.tazj.in. 3600 IN TXT "keybase-site-verification=ER8m_byyqAhzeIy9TyzkAU1H2p2yHtpvImuB_XrRF2U" + +;; Webpage records setup +tazj.in. 300 IN A 46.21.106.241 +www.tazj.in. 300 IN A 46.21.106.241 +git.tazj.in. 300 IN A 46.21.106.241 +gemma.tazj.in. 300 IN A 46.21.106.241 + +files.tazj.in. 300 IN CNAME c.storage.googleapis.com. +ip.tazj.in. 300 IN A 104.155.119.229 + +;; GleSYS machines +sto-tazserve-1.tazj.in. 300 IN A 46.21.106.241 |