Step 1: Login to the cPanel and click on Zone Editor option under Domains.
Step 2: Click on Manage option under Zone Editor.
Step 3: Select Add Record option and click on any DNS record (CNAME,MX,TXT or SRV Record) to update.
Step 4: Below is the DNS record to setup office 365 for the domain “example.com”. There are total 9 DNS records. Update each record one by one.
Step 5: Once you update the record click on Save. That’s it. It will take approximately 1-hour propagation.