Skip to content

Instantly share code, notes, and snippets.

@jaydenseric
Created March 20, 2017 04:46
Show Gist options
  • Save jaydenseric/cf7e548d3ce035da05fae5782878b80f to your computer and use it in GitHub Desktop.
Save jaydenseric/cf7e548d3ce035da05fae5782878b80f to your computer and use it in GitHub Desktop.
Zeit Now G Suite setup

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

now dns add yourdomain.com @ TXT google-site-verification=codehere
now dns add yourdomain.com @ MX ASPMX.L.GOOGLE.COM 1
now dns add yourdomain.com @ MX ALT1.ASPMX.L.GOOGLE.COM 5
now dns add yourdomain.com @ MX ALT2.ASPMX.L.GOOGLE.COM 5
now dns add yourdomain.com @ MX ALT3.ASPMX.L.GOOGLE.COM 10
now dns add yourdomain.com @ MX ALT4.ASPMX.L.GOOGLE.COM 10

Docs:

@raringsunny
Copy link

And now getting this error.

error mail 2

@raringsunny
Copy link

It is so strange that now I am able to access this website from my mobile safari browser but not through chrome on windows.

@djstein
Copy link

djstein commented Apr 28, 2020

newest version of this is:

now dns add domain.com '@' MX ASPMX.L.GOOGLE.COM 1
now dns add domain.com '@' MX ALT1.ASPMX.L.GOOGLE.COM 5
now dns add domain.com '@' MX ALT2.ASPMX.L.GOOGLE.COM 5
now dns add domain.com '@' MX ALT3.ASPMX.L.GOOGLE.COM 10
now dns add domain.com '@' MX ALT4.ASPMX.L.GOOGLE.COM 10
now dns add domain.com '@' MX <CODE>.mx-verification.google.com 15

@shivaylamba
Copy link

@djstein I am still getting error Invalid value parameter (not a valid FQDN) (400)

@richyrb00
Copy link

@djstein thank you. i didn't need to add the last one though.

https://support.google.com/a/answer/174125?hl=en
these are the MX records i've added.

@zeroproduct
Copy link

@djstein Thank you, this worked for me as well.

I also didn't add the last command and it still worked. Does anyone know if it is required?

@paulogdm
Copy link

Hello everyone,

We are beta testing our DNS UI! You can activate it on vercel.com/_flags. Check your domain's dashboard after that.

@miken91
Copy link

miken91 commented May 30, 2020

@richyrb00 these records seem to work great. Super easy with the DNS ui @paulogdm.

@djstein
Copy link

djstein commented Jun 22, 2020

thanks @paulogdm!

and for everyone else, I added the MX record for my specific Google Business email access

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