在 MyDomain 建立 Microsoft 的 DNS 記錄Create DNS records at MyDomain for Microsoft

若您找不到所需內容,請 查看網域常見問題集Check the Domains FAQ if you don't find what you're looking for.

警告

MyDomain 網站不支援 SRV 記錄,這表示有幾項商務用 Skype Online 和 Outlook Web App 功能將無法使用。The MyDomain website doesn't support SRV records, which means several Skype for Business Online and Outlook Web App features won't work. 無論您使用哪一種 Microsoft 方案,只要在 MyDomain 管理 DNS 記錄,都會受到重大的服務限制 (部分機器翻譯),建議您改換不同的 DNS 主機服務提供者。No matter which Microsoft plan you use, if you manage your DNS records at MyDomain, there are significant service limitations, and you might want to switch to a different DNS hosting provider.

儘管有這些服務限制,如果您仍選擇在 MyDomain 管理您的 Microsoft DNS 記錄,請按照本文中的步驟設定電子郵件與商務用 Skype Online 等項目的 DNS 記錄。If you choose to manage your own Microsoft DNS records at MyDomain despite the service limitations, follow the steps in this article to set up your DNS records for email, Skype for Business Online, and so on.

在 MyDomain 新增這些記錄之後,您的網域就會設定為搭配 Microsoft 服務使用。After you add these records at MyDomain, your domain will be set up to work with Microsoft services.

注意

Typically it takes about 15 minutes for DNS changes to take effect.Typically it takes about 15 minutes for DNS changes to take effect. 然而有時可能需要更久的時間,您所做的變更才能在整個網際網路的 DNS 系統中生效。However, it can occasionally take longer for a change you've made to update across the Internet's DNS system. 在您新增 DNS 記錄後,如有郵件流程或其他方面的問題,請參閱尋找並修正新增網域或 DNS 記錄之後所發生的問題If you're having trouble with mail flow or other issues after adding DNS records, see Find and fix issues after adding your domain or DNS records.

新增 TXT 記錄以供驗證Add a TXT record for verification

在您將自己的網域用於 Microsoft 之前,我們必須先確認您擁有該網域。如果您能在自己的網域註冊機構登入自己的帳戶並能建立 DNS 記錄,Microsoft 就能確信您擁有該網域。Before you use your domain with Microsoft, we have to make sure that you own it. Your ability to log in to your account at your domain registrar and create the DNS record proves to Microsoft that you own the domain.

注意

這筆記錄只會用於驗證您擁有自己的網域,不會影響其他項目。您可以選擇稍後再刪除記錄。This record is used only to verify that you own your domain; it doesn't affect anything else. You can delete it later, if you like.

  1. 首先,請用此連結移至您在 MyDomain 的網域頁面。系統會提示您先登入。To get started, go to your domains page at MyDomain by using this link. You'll be prompted to log in first.

  2. [我的最愛] 區段中,選取 [網域中央]In the My Favorites section, select Domain Central.

  3. [網域] 下方,選取要編輯的網域名稱。Under Domain, select the name of the domain that you want to edit.

  4. [總覽] 區段,選取 [DNS]In the Overview row, select DNS.

  5. [修改] 下拉式清單中,選擇 [TXT/SPF 記錄]From the Modify drop-down list, choose TXT/SPF Record.

  6. [內容] 底下,於新記錄的方塊中,輸入或複製並貼上下表中的值。Under Content, in the box for the new record, type or copy and paste the value from the following table.

    內容Content
    MS=ms XXXXXXXXMS=ms XXXXXXXX
    附註: 這是範例。Note: This is an example. 在這裡請使用您自己來自表格的 [目的地或指向位址] 值。Use your specific Destination or Points to Address value here, from the table. 如何找到呢?How do I find this?
  7. 選取 [新增]Select Add.

  8. 繼續進行之前,請先稍候幾分鐘,好讓您剛剛建立的記錄能在網際網路上更新。Wait a few minutes before you continue, so that the record you just created can update across the Internet.

現在您已在網域註冊機構網站新增記錄,請返回 Microsoft 並要求該記錄。Now that you've added the record at your domain registrar's site, you'll go back to Microsoft and request the record.

在 Microsoft 找到正確的 TXT 記錄後,您的網域就完成驗證了。When Microsoft finds the correct TXT record, your domain is verified.

  1. 在 Microsoft 系統管理中心中,移至 [設定] > [網域] 頁面。In the Microsoft admin center, go to the Settings > Domains page.

  2. [網域] 頁面上,選取您要驗證的網域。On the Domains page, select the domain that you are verifying.

  3. [設定] 頁面上,選取 [開始設定]On the Setup page, select Start setup.

  4. [驗證網域] 頁面上,選取 [驗證]On the Verify domain page, select Verify.

注意

Typically it takes about 15 minutes for DNS changes to take effect.Typically it takes about 15 minutes for DNS changes to take effect. 然而有時可能需要更久的時間,您所做的變更才能在整個網際網路的 DNS 系統中生效。However, it can occasionally take longer for a change you've made to update across the Internet's DNS system. 在您新增 DNS 記錄後,如有郵件流程或其他方面的問題,請參閱尋找並修正新增網域或 DNS 記錄之後所發生的問題If you're having trouble with mail flow or other issues after adding DNS records, see Find and fix issues after adding your domain or DNS records.

新增 MX 記錄,以將寄往您網域的電子郵件轉至 MicrosoftAdd an MX record so email for your domain will come to Microsoft

  1. 首先,請用此連結移至您在 MyDomain 的網域頁面。系統會提示您先登入。To get started, go to your domains page at MyDomain by using this link. You'll be prompted to log in first.

  2. [我的最愛] 區段中,選取 [網域中央]In the My Favorites section, select Domain Central.

  3. [網域] 下方,選取要編輯的網域名稱。Under Domain, select the name of the domain that you want to edit.

  4. [總覽] 區段,選取 [DNS]In the Overview row, select DNS.

  5. [Modify] (修改) 下拉式清單中,選擇 [MX Record] (MX 記錄)From the Modify drop-down list, choose MX Record.

    MyDomain-BP-Configure-2-1

  6. 在新記錄的方塊中,輸入或複製並貼上下表中的值。In the boxes for the new record, type or copy and paste the values from the following table.

    優先順序Priority HostHost Points to: (指向:)Points To:
    00
    如需關於優先順序的詳細資訊,請參閱什麼是 MX 優先順序?For more information about priority, see What is MX priority?
    @
    <domain-key> .mail.protection.outlook.com<domain-key> .mail.protection.outlook.com
    注意: 從您的 Microsoft 帳戶取得您的 <domain-key>。Note: Get your <domain-key> from your Microsoft account. > 如何找到這項資訊? > How do I find this?

    MyDomain-BP-Configure-2-2

  7. 選取 [新增]Select Add.

    MyDomain-BP-Configure-2-3

  8. 如果有任何其他現有的 MX 記錄,請針對每一筆記錄,選取 [Actions] (動作) 欄中的 [Remove] (移除),將它刪除。If there are any other existing MX records, select Remove in the Action column for each one to delete it.

    MyDomain-BP-Configure-2-4

  9. 選取 [確定]Select OK.

    MyDomain-BP-Configure-2-5

新增 Microsoft 所需的 CNAME 記錄Add the CNAME records that are required for Microsoft

  1. 首先,請用此連結移至您在 MyDomain 的網域頁面。系統會提示您先登入。To get started, go to your domains page at MyDomain by using this link. You'll be prompted to log in first.

  2. [我的最愛] 區段中,選取 [網域中央]In the My Favorites section, select Domain Central.

  3. [網域] 下方,選取要編輯的網域名稱。Under Domain, select the name of the domain that you want to edit.

  4. [總覽] 區段,選取 [DNS]In the Overview row, select DNS.

  5. [Modify] (修改) 下拉式清單中,選取 [CNAME Alias] (CNAME 別名)From the Modify drop-down list, choose CNAME Alias.

    MyDomain-BP-Configure-3-1

  6. 新增第一筆 CNAME 記錄。Add the first CNAME record.

    在每一筆新記錄的方塊中,輸入或複製並貼上下表第一列中的值。In the boxes for the new record, type or copy and paste the values from the first row of the following table.

    HostHost Points to: (指向:)Points To:
    autodiscoverautodiscover
    autodiscover.outlook.comautodiscover.outlook.com
    sipsip
    sipdir.online.lync.comsipdir.online.lync.com
    lyncdiscoverlyncdiscover
    webdir.online.lync.comwebdir.online.lync.com
    enterpriseregistrationenterpriseregistration
    enterpriseregistration.windows.netenterpriseregistration.windows.net
    enterpriseenrollmententerpriseenrollment
    enterpriseenrollment-s.manage.microsoft.comenterpriseenrollment-s.manage.microsoft.com

    MyDomain-BP-Configure-3-2

  7. 選取 [新增] 以新增第一筆記錄。Select Add to add the first record.

    MyDomain-BP-Configure-3-3

  8. 新增第二筆 CNAME 記錄。Add the second CNAME record.

    使用上表中第二列的值,然後選取 [新增] 以新增第二筆記錄。Use the values from the second row of the table above, and then select Add to add the second record.

    以此類推,使用表格中第三、四、五、六列的值新增其他記錄。Add the remaining records in the same way, using the values from the third, fourth, fifth, and sixth rows of the table.

新增 SPF 的 TXT 記錄以協助防範垃圾郵件Add a TXT record for SPF to help prevent email spam

重要

網域的 SPF 不得擁有一個以上的 TXT 記錄。You cannot have more than one TXT record for SPF for a domain. 如果您的網域具有多筆 SPF 記錄,您將收到電子郵件錯誤,以及傳送及垃圾郵件分類問題。If your domain has more than one SPF record, you'll get email errors, as well as delivery and spam classification issues. 如果網域已經有 SPF 記錄,請勿為 Microsoft 建立一個新的記錄。If you already have an SPF record for your domain, don't create a new one for Microsoft. 而是,請將必要的 Microsoft 值新增到目前的記錄,以便擁有包含這兩組值的單一 SPF 記錄。Instead, add the required Microsoft values to the current record so that you have a single SPF record that includes both sets of values. 需要範例?Need examples? 請參閱這些 Microsoft 的外部網域名稱系統記錄Check out these External Domain Name System records for Microsoft. 若要驗證您的 SPF 記錄,您可以使用其中一種 SPF 驗證工具To validate your SPF record, you can use one of these SPF validation tools.

  1. 首先,請用此連結移至您在 MyDomain 的網域頁面。系統會提示您先登入。To get started, go to your domains page at MyDomain by using this link. You'll be prompted to log in first.

  2. [我的最愛] 區段中,選取 [網域中央]In the My Favorites section, select Domain Central.

  3. [網域] 下方,選取要編輯的網域名稱。Under Domain, select the name of the domain that you want to edit.

  4. [總覽] 區段,選取 [DNS]In the Overview row, select DNS.

  5. [修改] 下拉式清單中,選擇 [TXT/SPF 記錄]From the Modify drop-down list, choose TXT/SPF Record.

    MyDomain-BP-Configure-4-1

  6. [內容] 底下,於新記錄的方塊中,輸入或複製並貼上下表中的值。Under Content, in the box for the new record, type or copy and paste the value from the following table.

    內容Content
    v=spf1 include:spf.protection.outlook.com -allv=spf1 include:spf.protection.outlook.com -all
    注意: 建議您複製並貼上這個項目,好讓所有的間距保持正確。Note: We recommend copying and pasting this entry, so that all of the spacing stays correct.

    MyDomain-BP-Configure-4-2

  7. 選取 [新增]Select Add.

    MyDomain-BP-Configure-4-3

新增兩筆 Microsoft 所需的 SRV 記錄Add the two SRV records that are required for Microsoft

警告

MyDomain 網站不支援 SRV 記錄,這表示有幾項商務用 Skype Online 和 Outlook Web App 功能將無法使用。The MyDomain website doesn't support SRV records, which means several Skype for Business Online and Outlook Web App features won't work. 無論您使用哪一種 Microsoft 方案,只要在 MyDomain 管理 DNS 記錄,都會受到重大的服務限制 (部分機器翻譯),建議您改換不同的 DNS 主機服務提供者。No matter which Microsoft plan you use, if you manage your DNS records at MyDomain, there are significant service limitations, and you might want to switch to a different DNS hosting provider.

注意

Typically it takes about 15 minutes for DNS changes to take effect.Typically it takes about 15 minutes for DNS changes to take effect. 然而有時可能需要更久的時間,您所做的變更才能在整個網際網路的 DNS 系統中生效。However, it can occasionally take longer for a change you've made to update across the Internet's DNS system. 在您新增 DNS 記錄後,如有郵件流程或其他方面的問題,請參閱尋找並修正新增網域或 DNS 記錄之後所發生的問題If you're having trouble with mail flow or other issues after adding DNS records, see Find and fix issues after adding your domain or DNS records.