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 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.

Hub Nav

Now that the zone is created, it's time to setup your provider.

  1. Create NS Records

An NS record will be added that will allow Cycle to manage a sub-domain as a hosted zone. Create up to four NS record on your provider, pointed to Cycle's nameservers.

  • ns1.cycle.io
  • ns2.cycle.io
  • ns3.cycle.io
  • ns4.cycle.io

This ensures that when this sub-domain is looked up, the request is forwarded to Cycle's nameservers.

  1. Create a TXT record

Next, you need to create a TXT record on your provider to ensure Cycle can verify ownership of the domain. You'll need the hub ID for the hub that this DNS zone will be associated with.

Name the record cycle-verify, and set the hub ID as the value of the TXT record.

  1. Verify Zone

Once this zone has been created, from the Cycle Portal click the Verify Zone button on the top right of the DNS zone view. This will check to ensure the zone is correctly set up and Cycle has the authority it needs to create certificates for the zone.