Is there a way to auto-populate my Google Apps MX records?

Not currently, but if that is something you would like to see please feel free to provide feedback.

1 Like

+1 for this. It’s always a chore to have to do this manually.

1 Like

would love this

can we import partial dns zones ? maybe have a preset Google App MX zone template we can import ?

Would a script to do this with the API be useful or is that too high of a barrier for the average user?

1 Like

maybe worth doing

Though maybe Cloudflare should come up with their own noobie friend wrapper script to manage the CF API. I know there’s 3rd party wrappers out there but an official CF one would be nice ie. cfcli

update DNS A record

./cfcli dns-update add A IPADDR

add Google App MX

./cfcli dns-update import MX GAPP
1 Like

+1 for a pre-populate DNS for G Suite MX Records

1 Like

Found and tested importing G Suite Mx records using this bind file (can copy and paste into a txt file and then use the advanced setting on the DNS tab to import).

Didn’t test the verification records because I don’t have a G Suite account, but no reason it shouldn’t work.


nice find @cs-cf :thumbsup:

maybe Cloudflare DNS export feature could also allow selective DNS record exports or migrations between Cloudflare site DNS zones ? already has Google App MX records so I can select those records and on advanaced export optionally export or copy them to on Cloudflare too or multiple sites on Cloudflare.

This is perfect! A total time saver! I tested with the verification records and DKIM and it worked perfectly.

1 Like

There is a nice workaround for this using the export/import options in the “Advanced” button in DNS section.

  1. Export your records
  2. Edit the txt file and add:
;; MX Records          1799    IN      MX      1          1799    IN      MX      5          1799    IN      MX      5          1799    IN      MX      10          1799    IN      MX      10
  1. Re-import the dns file.

For me this has been saving a lot of time and avoiding mistakes.

1 Like