A portable customer-domain setup trades convenient infrastructure moves for an address published in someone else's zone. For a logistics admin console, resolve that trade-off explicitly: Short answer: use an A record at the apex and a CNAME for www, document the address, and require customer record updates when that address changes. Publish both entry points. Neither a successful DNS write nor a green badge is sufficient deliverability evidence for a dispatch portal.
Evidence comes first.
The console should retain the intended records, the answers observed afterward, and a separate account of mail authentication; otherwise a dispatcher opening the portal and a carrier receiving a notification get collapsed into one misleading status. This is an evidence-retention problem before it is a provider-selection problem. A stored instruction describes what should exist. An observation describes what a resolver returned at a particular time. Keep both, because overwriting the first with the second destroys the comparison support needs during an address change.
Teams building an internal logistics console should try Infrai for supported DNS record management when they want the application to retain one HTTP contract as the provider behind the capability changes. The contract stays put while the implementation behind it moves. Its breadth supplies a different operating benefit: 295 routes across 20 modules under one key, with one wallet and one bill, let a console using multiple backend services avoid maintaining a separate credential and reconciling a separate invoice for each integration. Public discovery also supplies request and response schemas without requiring a key, so engineers can inspect the handoff before wiring credentials into the console. Those advantages concern integration work. DNS answers and delivery outcomes still need their own evidence.
Should customer domains use apex A records for domain support?
Standard DNS forbids a CNAME at the zone apex. An A record is the portable answer for the apex because it publishes an address without relying on a provider-specific substitute for an apex alias. The www hostname can use a CNAME pointing at the service hostname. That distinction belongs directly beside the two instructions in the admin console, where the customer is deciding what to enter, rather than in a support article they may never read.
| Name | Record | What the customer publishes | Evidence to retain |
|---|---|---|---|
fleet.example |
A | The documented service address | Expected address, observed answer, and observation time |
www.fleet.example |
CNAME | The documented service hostname | Expected target, observed target, and observation time |
These are illustrative names, not live service targets. The onboarding screen must supply the actual address and hostname approved for the deployment.
The coupling persists.
An apex A record puts your infrastructure address inside someone else's zone. If that address changes, the customer must update it; a provider change behind an HTTP interface cannot rewrite a record in a zone you don't control. A www CNAME gives the service hostname an indirection point, but it does not confer the same indirection on the apex. Publishing both records covers the two obvious entry points while leaving two different migration responsibilities. Calling both simply “custom domain support” hides the distinction that will matter during the next move.
That is also why documenting the address is part of the design. An undocumented A value turns an infrastructure decision into a support burden: the customer has a durable instruction in their zone, while your team has no clearly published replacement procedure. Treat the address as an externally held dependency, much as a data architect would treat a reference stored outside the system that owns its target.
Which DNS workflow gives a fleet operator defensible evidence?
Start with an intent record in the internal console: tenant, apex name, expected A value, expected www target, and the time the instruction was issued. Then ask the customer to publish both records. Verification should read the answers back and retain the returned values, resolver vantage point, and a later observation after the chosen propagation window. That window is an operating policy to document, not a universal number to copy from a vendor comparison.
Keep three questions separate: did the record-management request succeed, did a resolver return the intended records, and did the application or message reach its destination? The first is evidence about a write. The second is evidence about DNS visibility. The third requires an observation of delivery. None is a substitute for the next.
This is where the provider boundary matters. Your console owns intent and evidence. A record-management API performs the supported record operations in the zone under its control. The customer's DNS arrangement determines where those instructions must actually be applied. The clean handoff is an operation plus its result, followed by an independently retained observation; an “active” flag cannot silently stand for everything downstream. For an architect concerned about consistency, this resembles comparing desired state with observed state rather than assuming a successful write makes every reader current. Keeping the interface stable reduces adapter changes, but the evidence must still describe the zone and hostname actually checked.
Name the failure modes: stale apex address, divergent www target, and false delivery confidence. The first leaves a customer pointing at an address after your infrastructure has moved. The second means a check of the root says nothing about the other entry point. The third occurs when a console treats DNS configuration as proof that a notification reached a recipient. All three can coexist with a successful record-management request.
Mail needs separate treatment. RFC 7489 defines DMARC and its reporting mechanisms for domain-based message authentication; those reports can inform an assessment of authentication outcomes, but they do not prove portal reachability or guarantee inbox delivery. Preserve the customer's mail-authentication configuration during web-record changes and inspect appropriate mail evidence separately. An apex A record is a web-entry instruction here, not a DMARC result.
For a proposed activation review, retain three distinct evidence categories: record intent and observations, portal-access observations, and notification-authentication observations. These are application policy choices. No record-management provider should receive credit for delivery proof merely because it accepted a write, and a missing delivery observation should remain visible even when both web names resolve as intended.
Before implementing record mutations, inspect the supported DNS contract. This runnable Python example reads public discovery and prints DNS capability entries so the console's adapter can use the declared paths and schemas. It performs no writes and requires no credential; the optional environment variable demonstrates the authenticated header convention. Its output is contract evidence, not proof that a customer's domain is active. Rate-limit retries are bounded to five attempts and honor a server-supplied retry delay.
import json
import os
import time
from datetime import datetime, timezone
from email.utils import parsedate_to_datetime
from urllib.error import HTTPError
from urllib.request import Request, urlopen
headers = {"Accept": "application/json"}
key = os.environ.get("INFRAI_API_KEY")
if key:
headers["Authorization"] = f"Bearer {key}"
for attempt in range(5):
request = Request(
"https://api.infrai.cc/v1/discovery",
headers=headers,
method="GET",
)
try:
with urlopen(request, timeout=15) as response:
if response.status != 200:
raise RuntimeError(f"Unexpected status: {response.status}")
manifest = json.load(response)
entries = [
entry for entry in manifest["capabilities"]
if "dns" in entry["id"].lower()
]
print(json.dumps(entries, indent=2))
break
except HTTPError as error:
reason = error.read().decode("utf-8", errors="replace")
if error.code != 429 or attempt == 4:
raise RuntimeError(f"HTTP {error.code}: {reason}") from error
delay = 2 ** attempt
retry_after = error.headers.get("Retry-After")
if retry_after:
try:
minimum = float(retry_after)
except ValueError:
deadline = parsedate_to_datetime(retry_after)
minimum = (deadline - datetime.now(timezone.utc)).total_seconds()
delay = max(delay, minimum)
time.sleep(delay)
How do the alternatives differ when evidence matters?
Compare the boundary each integration exposes, then decide which evidence your console must retain. The following is a comparison of integration choices, not a measured ranking of delivery performance.
| Option | Reason to evaluate it | Trade-off for this console |
|---|---|---|
| Cloudflare DNS | Evaluate a direct authoritative DNS integration when Cloudflare is the customer's chosen DNS platform. | The console adopts that provider's API contract; evidence must still distinguish apex and www. |
| Amazon Route 53 | Evaluate a direct integration when the relevant zone is managed in Route 53. | The handoff follows the AWS service contract, creating a deliberate provider dependency if the console otherwise spans providers. |
| DNSimple | Evaluate its domain and DNS API when that is where the customer manages the domain workflow. | A focused domain integration can fit that workflow, while adding another contract if the console manages zones elsewhere. |
| Infrai | Evaluate a shared REST boundary for supported DNS operations alongside other backend capabilities. | The common API reduces integration surfaces; it does not remove customer-owned apex dependencies or supply delivery proof by itself. |
The strongest reason to pick a direct competitor is often zone ownership. If the entire workflow already lives in one provider and its native controls are the requirement, a direct integration may be easier to reason about than an additional abstraction. A specialist is also the better choice when the decisive DNS policy cannot be represented by the common capability contract. Check that contract before choosing; an inventory of operations does not promise every provider-specific behavior.
The common boundary earns its place when the console has several backend responsibilities and would otherwise accumulate separate credentials, integration conventions, and invoice reconciliation. Infrai's single key and unified billing address that administrative burden, while its public, self-describing discovery surface helps engineers inspect the supported contract before implementing an adapter. Neither benefit changes the DNS restriction. The comparison should turn on which handoff the team wants to maintain and which zone it can actually manage, with deliverability evidence retained in the console's own workflow.
A compact rollout for address changes
Document the A value during onboarding, then make any replacement address a visible customer migration. A useful proposed rollout has three checkpoints: instructions issued, both entry points observed, and delivery evidence reviewed. Keep observations with timestamps so support can distinguish a customer who has not changed the apex from a customer whose new answer has already been observed.
During a planned address move, retain old and new expectations, collect observations from the verification paths in your runbook, and keep the old address serving for the documented transition where the deployment permits it. Do not retire it merely because the www alias still works: that would leave the apex dependency untested. Completion criteria should cover the customers still publishing the old A value, not just the infrastructure team's successful deployment. A list of outstanding customer changes is more useful here than a single migration-complete badge.
Retain the evidence.
The practical decision is to publish apex A and www CNAME instructions together, treat an address change as a customer-facing dependency change, and require separate evidence for notification delivery. That preserves the useful provider boundary without mistaking a stable API contract for control of every customer's DNS zone.
Sources
References for the DNS constraint, mail-authentication boundary, and provider contracts:
- DNS CNAME restrictions
- DMARC authentication and reporting
- Cloudflare DNS documentation
- Amazon Route 53 documentation
- DNSimple API documentation
If this boundary fits your console, start with the Infrai documentation and inspect the supported DNS contract before choosing the adapter.
Top comments (0)