You can follow these articles
https://learn.microsoft.com/en-us/azure/dns/dns-getstarted-portal
From the Guideline document i tried to create the following environment
- Create a DNS Zone in Azure Portal:
- Create a resource > Networking > DNS zone.
- Name: This should be your domain name.
- Resource group: You can select an existing resource group or create a new one.
- Create a resource > Networking > DNS zone.
- Create MX records in Azure Portal:
- All resources > Open your domain DNS zone > select + Record set.
- On the Add Record set page, type or select the following values for the first MX record:
- Name: "@" (without quotes).
- Type: Select MX.
- Priority: 10.
- TTL: 1.
- TTL unit: Select Hours.
- Mail server: mx00.ionos.co.uk.
- Click on OK to create the record.
- Repeat the process for the second MX record, but in the Mail server field enter: mx01.ionos.co.uk.
- Create an SPF record in Azure Portal:
- Repeat the steps to create a new record set, but this time:
- Name: "@" (without quotes).
- Type: Select TXT.
- Value: "v=spf1 include:_spf-eu.ionos.com ~all" (without quotes).
- Repeat the steps to create a new record set, but this time:
- Create a DMARC record in Azure Portal:
- Repeat the steps to create a new record set, but this time:
- Name: "_dmarc" (without quotes).
- Type: Select TXT.
- Value: "v=DMARC1; p=reject; pct=100; rua=mailto:[postmaster@togo.io]" (without quotes).
- Repeat the steps to create a new record set, but this time: