Skip to content

Instantly share code, notes, and snippets.

@WesSouza
Forked from jaydenseric/zeit-now-g-suite-setup.md
Last active March 27, 2019 18:23
Show Gist options
  • Save WesSouza/d49838ee8bf7bbce9487db34366c312a to your computer and use it in GitHub Desktop.
Save WesSouza/d49838ee8bf7bbce9487db34366c312a to your computer and use it in GitHub Desktop.
Zeit Now G Suite setup

Run each of the following lines, replacing yourdomain.com and AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA with your details:

export NOW_DOMAIN=yourdomain.com
export GOOGLE_VERIFICATION=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
now dns add "$NOW_DOMAIN" @ TXT "google-site-verification=$GOOGLE_VERIFICATION"
now dns add "$NOW_DOMAIN" @ MX ASPMX.L.GOOGLE.COM 1
now dns add "$NOW_DOMAIN" @ MX ALT1.ASPMX.L.GOOGLE.COM 5
now dns add "$NOW_DOMAIN" @ MX ALT2.ASPMX.L.GOOGLE.COM 5
now dns add "$NOW_DOMAIN" @ MX ALT3.ASPMX.L.GOOGLE.COM 10
now dns add "$NOW_DOMAIN" @ MX ALT4.ASPMX.L.GOOGLE.COM 10

Docs:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment