Change how DNS records are managed with Office 365

If you change your mind about how you want DNS records to be managed for your domain in Office 365, you can switch to a different option after your domain is already set up. For example, if DNS for your domain is managed by Office 365, you can change it so you manage the DNS yourself, at your DNS host. (Note that you can't choose to have Office 365 manage DNS for GoDaddy domains set up with Office 365.)

Making this change doesn't affect email for your domain or other Office 365 services.

Change how DNS records are managed using the Office 365 admin center

Change DNS management to a DNS host outside Office 365

There are three steps to switch DNS management to a DNS host outside of Office 365:

  1. Change your nameservers: You must first change the nameservers for the domain to point to your DNS host. The nameservers for a domain determine where DNS is managed for the domain. They must be reset to your DNS host so that Office 365 can check that your DNS records for Office 365 are set up correctly at the DNS host after you switch DNS management.

  2. Follow a link to go to the domains setup wizard: We provide the link in Office 365 (we'll show you exactly where, in the steps below). It's same wizard that you follow to set up a domain initially, but you'll only follow the last few steps this time.

  3. Choose the option to manage your domain's DNS records: In the wizard, you choose the option to manage your domain's DNS yourself, and then set up the DNS records for Office 365 services.

So those are the overall steps. Follow the procedures below to see the details.

Step 1: Change nameservers to point to your domain's DNS host
  1. Sign in to the domain registrar for your domain. How can I find my domain's registrar?

  2. Find the area on the registrar's website where you update nameserver records, and update the nameservers to point to your domain's DNS host. (The DNS host is often the domain registrar.)

    Need help? We provide detailed steps for updating nameservers at many popular domain registrars. On this page listing the registrars, click your registrar to find step-by-step instructions. Or follow the general guidance here for updating nameservers at any registrar.

    Important: When you follow the steps, instead of changing your nameserver records to use Office 365 as directed in the step-by-step guidance, change the records to point to your domain's DNS host.

Step 2: Go to the setup wizard in Office 365
  1. Sign in to Office 365 with your work or school account.

  2. Go to the Domains page.

  3. Select the domain you're switching, and choose DNS Management.

    In the panel, click DNS management

Step 3: Change DNS management for your domain and set up DNS records for services
  1. In the domains setup wizard, on the Set up your online services page, choose I'll manage my own DNS records, and then click Next.

    If you haven't verified the domain yet, follow the steps to do that first.

    Choose I'll manage my own DNS records

  2. At your DNS host, add the DNS records listed here.

    Add the DNS records listed at your DNS host

    Need help? We provide detailed steps for updating DNS records at many popular domain registrars. On this page listing the registrars, click your registrar to find step-by-step instructions. Or follow the general guidance here for updating DNS at any registrar or DNS host.

  3. After you've added the records, come back to Office 365 and click Verify.

    Go back to the DNS records page and click Verify

Change DNS management to Office 365

There are two steps to switch DNS management to Office 365:

  1. Follow a link to go to the domains setup wizard: We provide the link in Office 365 (we'll show you exactly where, in the steps below). It's same wizard that you follow to set up a domain initially, but you'll only follow the last few steps this time.

  2. Choose the option to manage your domain's DNS records: In the wizard, you choose the option to have Office 365 manage your domain's DNS records for you and change the nameservers for the domain to point to Office 365. The nameservers for a domain determine where DNS is managed for the domain. When you redirect them to Office 365, Office 365 will set up your Office 365 DNS records for you, and you'll manage any custom DNS records for your domain in Office 365.

So those are the overall steps. Follow the procedures below to see the details.

When you've change the nameservers and the change has updated across the Internet, Office 365 sets up your domain's DNS records for Office 365 services.

Note: If you set up a domain as managed by Office 365 (like contoso.com), you can't add a subdomain for the domain (like sales.contoso.com) until you change the DNS management for the root domain to be managed outside of Office 365.

Step 1: Go to the setup wizard in Office 365
  1. Sign in to Office 365 with your work or school account.

  2. Go to the Domains page.

  3. Select a domain, and choose DNS management.

    In the panel, click DNS management
Step 2: Change DNS management for your domain and change nameservers to point to Office 365
  1. In the domains setup wizard, on the Set up your online services page, choose Set up my online services for me. (Recommended), and then click Next.

    If you haven't verified the domain yet, follow the steps to do that first.

    Choose Set up my online services for me. (Recommended)

  2. On the Update DNS settings page, we list the nameservers for Office 365. Go to the domain registrar for your domain, and update the nameservers to the Office 365 nameservers.

    In the Setup Wizard, copy the nameservers to your domain host

    Need help? We provide detailed steps for updating nameservers at many popular domain registrars. On this page listing the registrars, click your registrar to find step-by-step instructions. Or follow the general guidance here for updating nameservers at any registrar.

  3. After you've updated the nameservers, wait at least an hour. Then, back in the wizard in Office 365, click Verify.

    Wait an hour, and then click Verify

Change DNS management to a DNS host outside Office 365

There are three steps to switch DNS management to a DNS host outside of Office 365:

  1. Change your nameservers: You must first change the nameservers for the domain to point to your DNS host. The nameservers for a domain determine where DNS is managed for the domain. They must be reset to your DNS host so that Office 365 can check that your DNS records for Office 365 are set up correctly at the DNS host after you switch DNS management.

  2. Follow a link to go to the domains setup wizard: We provide the link in Office 365 (we'll show you exactly where, in the steps below). It's same wizard that you follow to set up a domain initially, but you'll only follow the last few steps this time.

  3. Choose the option to manage your domain's DNS records: In the wizard, you choose the option to manage your domain's DNS yourself, and then set up the DNS records for Office 365 services.

So those are the overall steps. Follow the procedures below to see the details.

Step 1: Change nameservers to point to your domain's DNS host
  1. Sign in to the domain registrar for your domain. How can I find my domain's registrar?

  2. Find the area on the registrar's website where you update nameserver records, and update the nameservers to point to your domain's DNS host. (The DNS host is often the domain registrar.)

    Need help? We provide detailed steps for updating nameservers at many popular domain registrars. On this page listing the registrars, click your registrar to find step-by-step instructions. Or follow the general guidance here for updating nameservers at any registrar.

    Important: When you follow the steps, instead of changing your nameserver records to use Office 365 as directed in the step-by-step guidance, change the records to point to your domain's DNS host.

Step 2: Go to the setup wizard in Office 365
  1. Sign in to Office 365 with your work or school account.

  2. Go to the Manage domains page.

  3. Select the domain you're switching, and choose Domain settings.

    On the Manage domains page, choose Manage DNS
  4. Under DNS management, in the section Prefer to manage your own DNS records?, in step 2, choose Click here to go to the domains setup wizard to change where your domain's DNS is managed.

    Choose Click here in Step 2
Step 3: Change DNS management for your domain and set up DNS records for services
  1. In the domains setup wizard, on the Do you want us to set up DNS records for Office 365 for you? page, choose No, I have an existing website or prefer to manage my own DNS records, and then click Next.

    If you haven't verified the domain yet, follow the steps to do that first.

    On the set up DNS records page, choose No, and then choose Next
  2. On the Which services do you want to use with Office 365 page, click Next.

    On the Office 365 services page choose Next
  3. At your DNS host, add the DNS records listed here.

    Add the following DNS records for your domain

    Need help? We provide detailed steps for updating DNS records at many popular domain registrars. On this page listing the registrars, click your registrar to find step-by-step instructions. Or follow the general guidance here for updating DNS at any registrar or DNS host.

  4. After you've added the records, come back to Office 365 and click Okay, I've added the records.

    Choose Okay, I've added the records

Change DNS management to Office 365

There are two steps to switch DNS management to Office 365:

  1. Follow a link to go to the domains setup wizard: We provide the link in Office 365 (we'll show you exactly where, in the steps below). It's same wizard that you follow to set up a domain initially, but you'll only follow the last few steps this time.

  2. Choose the option to manage your domain's DNS records: In the wizard, you choose the option to have Office 365 manage your domain's DNS records for you and change the nameservers for the domain to point to Office 365. The nameservers for a domain determine where DNS is managed for the domain. When you redirect them to Office 365, Office 365 will set up your Office 365 DNS records for you, and you'll manage any custom DNS records for your domain in Office 365.

So those are the overall steps. Follow the procedures below to see the details.

Note: If you set up a domain as managed by Office 365 (like contoso.com), you can't add a subdomain for the domain (like sales.contoso.com) until you change the DNS management for the root domain (like contoso.com) to be managed outside of Office 365.

Step 1: Go to the setup wizard in Office 365
  1. Sign in to Office 365 with your work or school account.

  2. Go to the Manage domains page.

  3. Select a domain, and choose Domain settings.

    On the Manage domains page, choose Manage DNS
  4. Under DNS management, in the section Want us to manage DNS for you?, in step 2, choose Click here to go to the domains setup wizard to change where your domain's DNS is managed.

    Choose Click here in Step 2
Step 2: Change DNS management for your domain and change nameservers to point to Office 365
  1. In the domains setup wizard, on the Do you want us to set up DNS records for Office 365 for you? page, choose Yes, I want to transfer DNS management in the next step, and then click Next.

    If you haven't verified the domain yet, follow the steps to do that first.

    Choose Next after you decide whether you want Office 365 to set up DNS records
  2. On the Change the nameservers for yourdomain.com page, we list the nameservers for Office 365. Go to the domain registrar for your domain, and update the nameservers to the Office 365 nameservers.

    Change the nameservers for your domain

    Need help? We provide detailed steps for updating nameservers at many popular domain registrars. On this page listing the registrars, click your registrar to find step-by-step instructions. Or follow the general guidance here for updating nameservers at any registrar.

  3. After you've updated the nameservers, wait at least an hour. Then, back in the wizard in Office 365, click Okay, I've changed the nameservers.

    Okay, I've changed the nameservers

When you add your domain to Office 365, the domains setup wizard guides you to set up your domain's DNS management in one of two ways.

You can let Office 365 manage DNS records for the domain, to make it easier to set up services like email and Skype for Business Online. This is the best option if you have a public website you're using with your domain outside of Office 365. Or you can keep managing the DNS records for your domain where they are now, at your current DNS host or domain registrar. There are advantages to each option, so you can pick the one that works best for your situation.

Later, if your situation changes, you can switch to the other option for DNS management by following the steps above.

Still need help?

Get help from the Office 365 community forums Admins: Sign in and create a service request Admins: Call Support
Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!

×