Route 53
Parity grade: A · SDK aws-sdk-go-v2/service/route53@v1.70.4 · last audited 2026-10-11 (70d96e12d)
Category: Networking & Content Delivery · View PARITY.md on GitHub · All Services
In-memory Route 53 with hosted zones, record sets and routing policies, health checks, DNSSEC, traffic policies, CIDR collections and query logging.
Quick start
export AWS_ENDPOINT_URL=http://localhost:8000
aws route53 create-hosted-zone --name example.internal --caller-reference $(date +%s)
aws route53 change-resource-record-sets --hosted-zone-id /hostedzone/Z0000000000000 \
--change-batch '{"Changes":[{"Action":"CREATE","ResourceRecordSet":{
"Name":"api.example.internal","Type":"A","TTL":60,
"ResourceRecords":[{"Value":"127.0.0.1"}]}}]}'
aws route53 list-resource-record-sets --hosted-zone-id /hostedzone/Z0000000000000
aws route53 list-hosted-zonesSupported operations
| Area | Operations |
|---|---|
| Hosted zones | CreateHostedZone, GetHostedZone, ListHostedZones, ListHostedZonesByName, ListHostedZonesByVPC, UpdateHostedZoneComment, UpdateHostedZoneFeatures, DeleteHostedZone, GetHostedZoneCount, GetHostedZoneLimit |
| Records | ChangeResourceRecordSets, ListResourceRecordSets, GetChange, TestDNSAnswer |
| Health checks | CreateHealthCheck, GetHealthCheck, ListHealthChecks, UpdateHealthCheck, DeleteHealthCheck, GetHealthCheckStatus, GetHealthCheckCount, GetHealthCheckLastFailureReason |
| DNSSEC | CreateKeySigningKey, ActivateKeySigningKey, DeactivateKeySigningKey, DeleteKeySigningKey, EnableHostedZoneDNSSEC, DisableHostedZoneDNSSEC, GetDNSSEC |
| VPC associations | AssociateVPCWithHostedZone, DisassociateVPCFromHostedZone, Create/Delete/ListVPCAssociationAuthorization(s) |
| Traffic policies | CreateTrafficPolicy, GetTrafficPolicy, ListTrafficPolicies, DeleteTrafficPolicy, CreateTrafficPolicyVersion, ListTrafficPolicyVersions, UpdateTrafficPolicyComment, traffic policy instance create, get, list, update, delete and count |
| CIDR collections | CreateCidrCollection, ChangeCidrCollection, DeleteCidrCollection, ListCidrCollections, ListCidrBlocks, ListCidrLocations |
| Delegation sets | CreateReusableDelegationSet, GetReusableDelegationSet, ListReusableDelegationSets, DeleteReusableDelegationSet, GetReusableDelegationSetLimit |
| Query logging | CreateQueryLoggingConfig, GetQueryLoggingConfig, ListQueryLoggingConfigs, DeleteQueryLoggingConfig |
| Tags | ChangeTagsForResource, ListTagsForResource, ListTagsForResources |
| Other | GetAccountLimit, GetCheckerIpRanges, GetGeoLocation, ListGeoLocations |
DNS resolution
Records resolve only with the embedded DNS server enabled (--dns-addr :10053). A and CNAME records are registered with it automatically. See DNS setup.
Routing policies (weighted, latency, geolocation, failover, multivalue) are evaluated by TestDNSAnswer. A record whose health check is Unhealthy is excluded from answers.
Differences from AWS
NOTE
Alias records that point at AWS resources (ELB, CloudFront and so on) are stored but not resolved to the resource.
Parity & Coverage
| Metric | Value |
|---|---|
| PARITY entries audited | 67 (67 ok) |
| Feature families | 4 (4 ok) |
| Known gaps | none |
| Deferred items | 3 |
| Resource leaks | clean |
Deferred Items
- selectWeighted/selectLatency/selectGeo/selectFailover/multiValueAnswer were re-checked against AWS's public routing-policy documentation this pass (see routing_policies family note) and found correct, but not re-derived against AWS's non-public source — Route 53's exact selection algorithm (esp. latency-routing tie-breaks and geoproximity's precise bias geometry) is not fully published, so "matches documented behavior" is the strongest verification achievable without live-AWS access
- 2026-08-29 list-filter-params pass: pagination is hardcoded/never-truncating on 6 list ops — ListReusableDelegationSets (Marker/MaxItems never read, backend takes none), ListGeoLocations (StartCode + MaxItems never read; static 15-row table so low real-world impact), ListCidrCollections/ListCidrBlocks/ListCidrLocations (MaxResults/NextToken never read, always IsTruncated=false), and the ListTrafficPolic{y,yInstance} family — ListTrafficPolicies, ListTrafficPolicyVersions, ListTrafficPolicyInstances(ByHostedZone|ByPolicy) — which all hardcode MaxItems:"100" in the response and never truncate or apply their Marker params. Recorded as deferred rather than fixed, matching the cloudfront pass's precedent: real filter/parameter bugs (ListHostedZones) took priority over a page-size sweep across 6 ops, which is a larger piece of work than this pass. ListVPCAssociationAuthorizations similarly ignores MaxResults/NextToken but VPC-per-zone authorization counts are AWS-limited to a handful, so impact is low. ALL SIX FIXED 2026-08-30 (gopherstack-kwzs), plus ListVPCAssociationAuthorizations — see each op's own row above for its real marker field name(s) and test. ListGeoLocations (still not its own ops: row; it's a static compile-time table, not backend-owned data) now does threshold search on the exact (ContinentCode, CountryCode, SubdivisionCode) triple to resume — equality matching is safe here specifically because the table is immutable at runtime, unlike the equality-with-zero-default bug class this campaign otherwise warns about; see seekGeoLocationStart's doc comment (handler_record_sets.go) and TestListGeoLocations_Pagination. Two of the six (ListTrafficPolicyInstancesByHostedZone, ListTrafficPolicyInstancesByPolicy) turned out to have a second, more severe, independent bug on top of the filed pagination gap: each read its primary FILTER parameter (not the marker) from the wrong query key entirely, so a real client's filter was always silently ignored and the op always returned nothing — see each row's own note for the exact wrong-vs-real key.
- 2026-08-29 wrapper-key-sweep pass: ListQueryLoggingConfigs was missed by the list-filter-params pass above and its ops-table row wrongly recorded as already honouring every filter (corrected in that op's row and the note two entries above). MaxResults/NextToken are never read; the account-wide case (no hostedzoneid filter) returns every config with no IsTruncated/NextToken, unbounded by the number of hosted zones in the account. Not fixed this pass (out of the cloudfront/route53 two-service scope) — same never-truncating-pagination shape as the 6 ops above, so grouped with them rather than fixed in isolation.
Audited Operations
67 audited operations
| Operation | Wire | Errors | State | Persist |
|---|---|---|---|---|
CreateHostedZone | fixed | ok | ok | ok |
DeleteHostedZone | ok | ok | ok | ok |
GetHostedZone | ok | ok | ok | ok |
ListHostedZones | fixed | ok | ok | ok |
ListHostedZonesByName | ok | ok | ok | ok |
UpdateHostedZoneComment | ok | ok | ok | ok |
GetHostedZoneCount | ok | ok | ok | ok |
ChangeResourceRecordSets | ok | ok | ok | ok |
ListResourceRecordSets | ok | ok | ok | ok |
CountResourceRecordSets | ok | ok | ok | ok |
GetChange | ok | ok | ok | ok |
CreateHealthCheck | ok | ok | ok | ok |
GetHealthCheck | ok | ok | ok | ok |
ListHealthChecks | fixed | ok | ok | ok |
GetHealthCheckCount | ok | ok | ok | ok |
DeleteHealthCheck | ok | ok | ok | ok |
UpdateHealthCheck | ok | ok | ok | ok |
GetHealthCheckStatus | ok | ok | ok | ok |
GetHealthCheckLastFailureReason | ok | ok | ok | ok |
ListTagsForResource | ok | ok | ok | ok |
ListTagsForResources | ok | ok | ok | ok |
ChangeTagsForResource | ok | ok | ok | ok |
CreateKeySigningKey | ok | ok | ok | ok |
ActivateKeySigningKey | ok | ok | ok | ok |
DeactivateKeySigningKey | fixed | ok | ok | ok |
DeleteKeySigningKey | ok | ok | ok | ok |
EnableHostedZoneDNSSEC | fixed | ok | ok | ok |
DisableHostedZoneDNSSEC | fixed | ok | ok | ok |
GetDNSSEC | ok | ok | ok | ok |
AssociateVPCWithHostedZone | ok | ok | ok | ok |
DisassociateVPCFromHostedZone | ok | ok | ok | ok |
ListVPCAssociations | ok | ok | ok | ok |
ListHostedZonesByVPC | fixed | ok | ok | ok |
CreateVPCAssociationAuthorization | ok | ok | ok | ok |
DeleteVPCAssociationAuthorization | ok | ok | ok | ok |
ListVPCAssociationAuthorizations | fixed | ok | ok | ok |
CountAssociatedVPCs | ok | ok | ok | ok |
CreateCidrCollection | ok | ok | ok | ok |
ChangeCidrCollection | ok | ok | ok | ok |
DeleteCidrCollection | ok | ok | ok | ok |
ListCidrCollections | fixed | ok | ok | ok |
ListCidrLocations | fixed | ok | ok | ok |
ListCidrBlocks | fixed | ok | fixed | ok |
CreateQueryLoggingConfig | ok | ok | ok | ok |
GetQueryLoggingConfig | ok | ok | ok | ok |
DeleteQueryLoggingConfig | ok | ok | ok | ok |
ListQueryLoggingConfigs | ok | ok | ok | ok |
CreateReusableDelegationSet | ok | ok | ok | ok |
GetReusableDelegationSet | ok | ok | ok | ok |
DeleteReusableDelegationSet | ok | ok | ok | ok |
ListReusableDelegationSets | fixed | ok | ok | ok |
CountZonesByReusableDelegationSet | ok | ok | ok | ok |
TestDNSAnswer | ok | ok | ok | n/a |
CreateTrafficPolicy | ok | ok | ok | ok |
CreateTrafficPolicyVersion | ok | ok | ok | ok |
CreateTrafficPolicyInstance | ok | ok | ok | ok |
UpdateTrafficPolicyInstance | ok | ok | ok | ok |
UpdateTrafficPolicyComment | ok | ok | ok | ok |
DeleteTrafficPolicy | ok | ok | ok | ok |
GetTrafficPolicy | ok | ok | ok | ok |
DeleteTrafficPolicyInstance | ok | ok | ok | ok |
GetTrafficPolicyInstance | ok | ok | ok | ok |
ListTrafficPolicies | fixed | ok | ok | ok |
ListTrafficPolicyVersions | fixed | ok | ok | ok |
ListTrafficPolicyInstances | fixed | ok | ok | ok |
ListTrafficPolicyInstancesByHostedZone | fixed | ok | ok | ok |
ListTrafficPolicyInstancesByPolicy | fixed | ok | ok | ok |
Audited Feature Families
| Feature Family | Status |
|---|---|
record_types | ok |
routing_policies | ok |
dnssec | ok |
errCodeLookup | ok |
