about summary refs log tree commit diff
path: root/dns
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2016-05-26T22·38+0200
committerVincent Ambo <tazjin@gmail.com>2016-05-26T22·38+0200
commitcfe9387af1c33df57cf1d2ca6a5c4f701b6f8e61 (patch)
tree55acac0ea5c991a41101ac24ed49493bc4069b98 /dns
parentb85e5e7aca4ae8cbc58350f5b9f5efb106fc5397 (diff)
[dns] Add DNS setup to git
Diffstat (limited to 'dns')
-rwxr-xr-xdns/import11
-rw-r--r--dns/root-tazj-in29
2 files changed, 40 insertions, 0 deletions
diff --git a/dns/import b/dns/import
new file mode 100755
index 000000000000..e79e426b5553
--- /dev/null
+++ b/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/dns/root-tazj-in b/dns/root-tazj-in
new file mode 100644
index 000000000000..c27c2387a0af
--- /dev/null
+++ b/dns/root-tazj-in
@@ -0,0 +1,29 @@
+;; 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. 89 21600 3600 1209600 300
+
+;; Email setup
+tazj.in. 300 IN MX 10 mx01.trekia.se.
+tazj.in. 300 IN MX 20 mx02.trekia.se.
+mail.tazj.in. 300 IN A 79.99.4.40
+
+;; 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"
+
+;; Webpage records setup
+tazj.in. 300 IN A 104.155.119.229
+files.tazj.in. 300 IN CNAME c.storage.googleapis.com.
+git.tazj.in. 300 IN A 104.155.119.229
+ip.tazj.in. 300 IN A 104.155.119.229
+pacman-osx.tazj.in. 300 IN CNAME c.storage.googleapis.com.
+wow.tazj.in. 300 IN CNAME gce-tazserve-a1.gce.tazj.in.
+www.tazj.in. 300 IN A 104.155.119.229
+
+;; Other services
+bitlbee.tazj.in. 300 IN A 104.155.119.229
+irc.tazj.in. 300 IN A 104.155.119.229