> ## Documentation Index
> Fetch the complete documentation index at: https://docs.preprod.world/llms.txt
> Use this file to discover all available pages before exploring further.

# Configure CDN integration

When using both Gcore Managed DNS and Gcore CDN, A and AAAA records can be configured to resolve directly to CDN addresses. CDN integration eliminates the need for a CNAME record and the associated additional DNS lookup on the end-user side — Gcore DNS resolves the record to the optimal CDN address automatically.

<Steps>
  <Step title="Navigate to DNS">
    In the [Gcore Customer Portal](https://portal.gcore.com), navigate to **DNS**.

    <Frame>
      <img src="https://mintcdn.com/gcore-docs/xkpzeHgKKKD4ZA-j/images/docs/dns/dns-records/advanced-managing/cdn-integration/cdn-integration-image1.png?fit=max&auto=format&n=xkpzeHgKKKD4ZA-j&q=85&s=105101f554018708954ca07560543ae3" alt="DNS zones list" width="1400" height="671" data-path="images/docs/dns/dns-records/advanced-managing/cdn-integration/cdn-integration-image1.png" />
    </Frame>
  </Step>

  <Step title="Open the DNS zone">
    Click the domain name of the DNS zone to configure.

    <Note>
      CDN integration is available only for **A** and **AAAA** record types.
    </Note>
  </Step>

  <Step title="Open CDN Integration">
    Click the three-dot icon next to the A or AAAA record and select **CDN Integration**.

    <Frame>
      <img src="https://mintcdn.com/gcore-docs/xkpzeHgKKKD4ZA-j/images/docs/dns/dns-records/advanced-managing/cdn-integration/cdn-integration-10.png?fit=max&auto=format&n=xkpzeHgKKKD4ZA-j&q=85&s=271dd22713491464d177be6a3fcd182f" alt="Record sets list with CDN Integration option in the three-dot menu" width="1062" height="663" data-path="images/docs/dns/dns-records/advanced-managing/cdn-integration/cdn-integration-10.png" />
    </Frame>
  </Step>

  <Step title="Save the settings">
    In the **CDN Integration** popup, the **Domain** field is pre-filled with the endpoint from CDN resource settings. Click **Save changes**.

    <Frame>
      <img src="https://mintcdn.com/gcore-docs/xkpzeHgKKKD4ZA-j/images/docs/dns/dns-records/advanced-managing/cdn-integration/cdn-integration-20.png?fit=max&auto=format&n=xkpzeHgKKKD4ZA-j&q=85&s=2167b2981a98b55cd334e577ae855b37" alt="CDN Integration popup with the Domain field pre-filled" width="650" height="406" data-path="images/docs/dns/dns-records/advanced-managing/cdn-integration/cdn-integration-20.png" />
    </Frame>
  </Step>
</Steps>

The DNS zone is now integrated with Gcore CDN. The record content changes to **Managed by CDN** and the details column shows **CDN Integration**.

<Frame>
  <img src="https://mintcdn.com/gcore-docs/xkpzeHgKKKD4ZA-j/images/docs/dns/dns-records/advanced-managing/cdn-integration/cdn-integration-30.png?fit=max&auto=format&n=xkpzeHgKKKD4ZA-j&q=85&s=d7f3d7241388a61e90c90dd2abb7eda6" alt="DNS record set showing Managed by CDN content and CDN Integration in the details column" width="1024" height="297" data-path="images/docs/dns/dns-records/advanced-managing/cdn-integration/cdn-integration-30.png" />
</Frame>
