Setting Up DNS Based Email Forwarding to Gmail Using Open Source Service and Custom Domain

· Read in about 1 min · (212 words) ·


  1. A custom domain e.g. .
  2. A Gmail Account e.g. [email protected] .
  3. Account on (free and open-source email forwarding service).

DNS Management

  1. Add MX Records and TXT Records in your domain manager (e.g.,,, etc.)

    Note -

    • You have to add these records to your current domain manager. Your current domain manager might be different from the one you purchased the domain.
    • There should be NO other MX records set. If there were already MX records that existed, please delete them
  2. After that choose the option how do you wish to forward the emails, by following the 4th point of the documentation.

  3. Then add v=spf1 a mx -all as another TXT record.

  4. Verify the MX and TXT Records using «Verify Records» tool on .

  5. Send a test email to confirm if it works. Note that it might take some time for your DNS records to propagate.

    Note -