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:
| Field | Description |
|---|---|
| Type | DNS record type. |
| Name | Record hostname or relative domain name. |
| Value | Assigned destination or verification value. |
| TTL | Duration for which the record may be cached. |
| Proxy status | Required 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
| Type | Name | Target |
|---|---|---|
| CNAME | app | assigned-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
| Type | Name | IPv4 Address |
|---|---|---|
| A | app | 192.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
| Type | Name | IPv6 Address |
|---|---|---|
| AAAA | app | 2001: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
| Type | Name | Value |
|---|---|---|
| TXT | _verification | EXAMPLE_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:
| Name | Assigned Service |
|---|---|
www.example.com | Corporate website |
app.example.com | Hosted application |
api.example.com | Application API |
staging.example.com | Staging 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.
| TTL | Approximate Duration |
|---|---|
| 60 | 1 minute |
| 300 | 5 minutes |
| 600 | 10 minutes |
| 3600 | 1 hour |
| 86400 | 24 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:
- Sign in to your authoritative DNS provider.
- Locate the DNS zone for your domain.
- Review existing records for conflicts.
- Create or modify the supplied records.
- Confirm record values and proxy settings.
- Save the configuration.
- Verify DNS resolution.
- 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.
:::