> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gcore.com/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/W9hLxFUXyZVjy-WH/images/docs/dns/dns-records/advanced-managing/cdn-integration/cdn-integration-image1.png?fit=max&auto=format&n=W9hLxFUXyZVjy-WH&q=85&s=7b05f9c4546506334d7df01a7100fbd7" 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/W9hLxFUXyZVjy-WH/images/docs/dns/dns-records/advanced-managing/cdn-integration/cdn-integration-10.png?fit=max&auto=format&n=W9hLxFUXyZVjy-WH&q=85&s=673f27ef790e58ea50465906fcc8e163" 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/W9hLxFUXyZVjy-WH/images/docs/dns/dns-records/advanced-managing/cdn-integration/cdn-integration-20.png?fit=max&auto=format&n=W9hLxFUXyZVjy-WH&q=85&s=400d89afe77d8a4822d69aa5761a38f9" 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/W9hLxFUXyZVjy-WH/images/docs/dns/dns-records/advanced-managing/cdn-integration/cdn-integration-30.png?fit=max&auto=format&n=W9hLxFUXyZVjy-WH&q=85&s=838a6729d2df1d0def85991d4466f3a1" 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>
