Skip to main content

DNS Configuration

The Domain Name System (DNS) connects domain names to the infrastructure responsible for serving applications and services.

Applications using client-owned domains require DNS records directing traffic to the hosting destination assigned by Zanthem Infrastructure.

Your account manager will provide the required records during domain provisioning.

DNS Management​

DNS records must be configured through the authoritative DNS provider responsible for your domain.

Your DNS provider may be different from your domain registrar.

Common DNS providers include:

  • Cloudflare
  • Amazon Route 53
  • GoDaddy
  • Namecheap
  • Microsoft Azure DNS
  • Google Cloud DNS

The configuration interface varies between providers, but standard DNS record types remain consistent.

DNS Configuration Information​

Your account manager may provide configuration information in the following format:

FieldDescription
TypeDNS record type.
NameRecord hostname or relative domain name.
ValueAssigned destination or verification value.
TTLDuration for which the record may be cached.
Proxy statusRequired proxy configuration, where applicable.

Always use the exact configuration supplied for your application.

DNS Record Types​

CNAME Records​

A CNAME record associates one hostname with another hostname.

CNAME records are commonly used to connect application subdomains to assigned hosting destinations.

Example​

TypeNameTarget
CNAMEappassigned-host.example.net

The resulting application hostname is:

app.example.com

A CNAME target must be a hostname rather than an IP address or complete URL.

Correct:

assigned-host.example.net

Incorrect:

https://assigned-host.example.net/application

A standard CNAME record cannot coexist with other ordinary DNS record types at the same record name.

A Records​

An A record associates a hostname with an IPv4 address.

Example​

TypeNameIPv4 Address
Aapp192.0.2.10

Only configure A records when explicitly provided by your account manager.

AAAA Records​

An AAAA record associates a hostname with an IPv6 address.

Example​

TypeNameIPv6 Address
AAAAapp2001:db8::10

Only configure AAAA records when explicitly provided by your account manager.

Incorrect IPv6 configuration may cause connectivity failures for clients using IPv6.

TXT Records​

TXT records store text-based information associated with a domain.

Zanthem may request TXT records for purposes such as domain ownership verification.

Example​

TypeNameValue
TXT_verificationEXAMPLE_VERIFICATION_VALUE

Verification values must be copied exactly as provided.

CAA Records​

Certification Authority Authorization records restrict which certificate authorities may issue certificates for a domain.

Existing restrictive CAA records may affect SSL/TLS certificate issuance.

If certificate issuance requires a CAA configuration change, your account manager will provide the appropriate information.

Do not remove existing CAA restrictions without reviewing your organization's certificate security requirements.

Root Domain Configuration​

Root domains are sometimes referred to as apex or naked domains.

example.com

DNS providers commonly represent the root domain using the @ record name.

Standard CNAME records cannot ordinarily be configured at the root domain because other required DNS records exist there.

Some DNS providers support equivalent functionality through:

  • CNAME flattening
  • ALIAS records
  • ANAME records

Alternatively, another approved routing configuration may be required.

Your account manager will provide the appropriate configuration for your domain and DNS provider.

Subdomain Configuration​

Subdomains can generally be configured independently of the root domain.

For example:

NameAssigned Service
www.example.comCorporate website
app.example.comHosted application
api.example.comApplication API
staging.example.comStaging environment

Each domain or subdomain must be associated with an approved application configuration.

DNS Proxy Configuration​

Some DNS providers support routing traffic through their own proxy infrastructure.

Proxy configuration may affect:

  • Application connectivity
  • SSL/TLS certificate validation
  • HTTP request headers
  • Client IP address handling
  • WebSocket connections
  • Caching behavior

Your account manager will specify whether a DNS record should use proxy functionality or DNS-only operation.

Do not independently change the proxy status of an active application record without confirming compatibility.

DNS Time to Live​

The Time to Live (TTL) determines how long DNS responses may be retained by caching resolvers.

TTLApproximate Duration
601 minute
3005 minutes
60010 minutes
36001 hour
8640024 hours

Use the TTL value recommended during domain provisioning.

A lower TTL does not guarantee immediate visibility of DNS changes.

Previously cached records may remain available until their existing TTL expires.

Applying DNS Changes​

The general DNS configuration process is:

  1. Sign in to your authoritative DNS provider.
  2. Locate the DNS zone for your domain.
  3. Review existing records for conflicts.
  4. Create or modify the supplied records.
  5. Confirm record values and proxy settings.
  6. Save the configuration.
  7. Verify DNS resolution.
  8. Notify your Zanthem account manager.

Some DNS providers automatically append the root domain to record names.

For example, entering:

app

Within the DNS zone for:

example.com

Typically creates:

app.example.com

Confirm the resulting fully qualified domain name before saving the record.

Verifying DNS Records​

DNS records can be verified using standard command-line utilities.

Windows​

Check a CNAME record:

nslookup -type=CNAME app.example.com

Check an IPv4 record:

nslookup -type=A app.example.com

Check a TXT record:

nslookup -type=TXT _verification.example.com

Linux and macOS​

Check a CNAME record:

dig app.example.com CNAME +short

Check an IPv4 record:

dig app.example.com A +short

Check an IPv6 record:

dig app.example.com AAAA +short

Check a TXT record:

dig _verification.example.com TXT +short

Checking Public Resolvers​

To query a specific public DNS resolver:

dig @1.1.1.1 app.example.com A +short
dig @8.8.8.8 app.example.com A +short

Different resolvers may temporarily return different results following a DNS change.

Proxied or flattened records may return IP addresses rather than exposing the configured CNAME target directly.

Common DNS Issues​

Domain Does Not Resolve​

Possible causes include:

  • Required DNS record has not been created.
  • Record name is incorrect.
  • Record was created in the wrong DNS zone.
  • DNS provider is not authoritative for the domain.
  • Cached negative DNS responses have not expired.

Verify the record and confirm that it was configured through the correct DNS provider.

Domain Resolves to the Wrong Destination​

Possible causes include:

  • Existing conflicting records.
  • Incorrect assigned destination.
  • Cached previous DNS records.
  • Unexpected proxy configuration.

Compare the active configuration with the information supplied by your account manager.

DNS Resolves but Application Is Unavailable​

Successful DNS resolution does not guarantee that the application routing configuration is complete.

Additional causes may include:

  • Application deployment failure.
  • Domain routing not yet configured.
  • Certificate validation incomplete.
  • Incorrect application listening port.
  • Application startup failure.

Contact your account manager after verifying the supplied DNS configuration.

DNS Verification Fails​

Possible causes include:

  • Incorrect verification value.
  • Incorrect record name.
  • DNS provider appended the domain unexpectedly.
  • Cached DNS response.
  • Verification record was removed prematurely.

Confirm that the record exactly matches the supplied configuration.

Protecting Existing Services​

Only modify DNS records associated with the approved application configuration.

Do not modify unrelated records, including:

  • Mail exchange records
  • SPF records
  • DKIM records
  • DMARC records
  • Nameserver records
  • Existing service verification records
  • Unrelated application records

:::warning Nameserver changes

Connecting an application to Zanthem does not ordinarily require changing the authoritative nameservers for your domain.

Changing nameservers may affect your entire domain, including email and unrelated services.

Only perform a nameserver migration when explicitly coordinated and approved.

:::