Configure DNS
Prerequisites
To make a container publicly accessible, a DNS Zone must first be created. This guide will cover setting up a hosted zone.
Create a Hosted Zone
A hosted zone is a domain that will be fully managed by Cycle. These domains (or sub-domains) must have their authoritative nameservers configured to Cycle's nameservers. Additionally, these domains must be verified to ensure proper ownership.
Click on DNS in the left-hand navigation and then click on Zones. Open the zone create modal by selecting the Create button.
1. Create NS Records
Add NS records through the domain's DNS manager (generally available from the backend of the service the domain has been purchased through). These entries will set Cycle as the authoritative nameserver for the domain (or sub-domain).
The following NS entries should be added:
- ns1.cycle.io
- ns2.cycle.io
- ns3.cycle.io
- ns4.cycle.io
2. Verify Zone
Once the records are in place, head to the DNS zone that has been created and click the Verify Zone button on the top right of the screen. In the zones list, the domain that has been verified will receive a blue check mark that says Verified if the zone was able to be verified.
Sub-Domain Delegation and Advanced Zone Configuration
To dive deeper into more advanced configurations for DNS zones on Cycle, check out our platform guide on this topic.