Skip to content

Instantly share code, notes, and snippets.

@guioconnor
Forked from WesSouza/zeit-now-g-suite-setup.md
Created January 17, 2019 13:27
Show Gist options
  • Save guioconnor/e4d2c3bed58e5562bf6a94bf64c02919 to your computer and use it in GitHub Desktop.
Save guioconnor/e4d2c3bed58e5562bf6a94bf64c02919 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