Skip to content

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 ​

bash
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-zones

Supported operations ​

AreaOperations
Hosted zonesCreateHostedZone, GetHostedZone, ListHostedZones, ListHostedZonesByName, ListHostedZonesByVPC, UpdateHostedZoneComment, UpdateHostedZoneFeatures, DeleteHostedZone, GetHostedZoneCount, GetHostedZoneLimit
RecordsChangeResourceRecordSets, ListResourceRecordSets, GetChange, TestDNSAnswer
Health checksCreateHealthCheck, GetHealthCheck, ListHealthChecks, UpdateHealthCheck, DeleteHealthCheck, GetHealthCheckStatus, GetHealthCheckCount, GetHealthCheckLastFailureReason
DNSSECCreateKeySigningKey, ActivateKeySigningKey, DeactivateKeySigningKey, DeleteKeySigningKey, EnableHostedZoneDNSSEC, DisableHostedZoneDNSSEC, GetDNSSEC
VPC associationsAssociateVPCWithHostedZone, DisassociateVPCFromHostedZone, Create/Delete/ListVPCAssociationAuthorization(s)
Traffic policiesCreateTrafficPolicy, GetTrafficPolicy, ListTrafficPolicies, DeleteTrafficPolicy, CreateTrafficPolicyVersion, ListTrafficPolicyVersions, UpdateTrafficPolicyComment, traffic policy instance create, get, list, update, delete and count
CIDR collectionsCreateCidrCollection, ChangeCidrCollection, DeleteCidrCollection, ListCidrCollections, ListCidrBlocks, ListCidrLocations
Delegation setsCreateReusableDelegationSet, GetReusableDelegationSet, ListReusableDelegationSets, DeleteReusableDelegationSet, GetReusableDelegationSetLimit
Query loggingCreateQueryLoggingConfig, GetQueryLoggingConfig, ListQueryLoggingConfigs, DeleteQueryLoggingConfig
TagsChangeTagsForResource, ListTagsForResource, ListTagsForResources
OtherGetAccountLimit, 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 ​

MetricValue
PARITY entries audited67 (67 ok)
Feature families4 (4 ok)
Known gapsnone
Deferred items3
Resource leaksclean

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
OperationWireErrorsStatePersist
CreateHostedZonefixedokokok
DeleteHostedZoneokokokok
GetHostedZoneokokokok
ListHostedZonesfixedokokok
ListHostedZonesByNameokokokok
UpdateHostedZoneCommentokokokok
GetHostedZoneCountokokokok
ChangeResourceRecordSetsokokokok
ListResourceRecordSetsokokokok
CountResourceRecordSetsokokokok
GetChangeokokokok
CreateHealthCheckokokokok
GetHealthCheckokokokok
ListHealthChecksfixedokokok
GetHealthCheckCountokokokok
DeleteHealthCheckokokokok
UpdateHealthCheckokokokok
GetHealthCheckStatusokokokok
GetHealthCheckLastFailureReasonokokokok
ListTagsForResourceokokokok
ListTagsForResourcesokokokok
ChangeTagsForResourceokokokok
CreateKeySigningKeyokokokok
ActivateKeySigningKeyokokokok
DeactivateKeySigningKeyfixedokokok
DeleteKeySigningKeyokokokok
EnableHostedZoneDNSSECfixedokokok
DisableHostedZoneDNSSECfixedokokok
GetDNSSECokokokok
AssociateVPCWithHostedZoneokokokok
DisassociateVPCFromHostedZoneokokokok
ListVPCAssociationsokokokok
ListHostedZonesByVPCfixedokokok
CreateVPCAssociationAuthorizationokokokok
DeleteVPCAssociationAuthorizationokokokok
ListVPCAssociationAuthorizationsfixedokokok
CountAssociatedVPCsokokokok
CreateCidrCollectionokokokok
ChangeCidrCollectionokokokok
DeleteCidrCollectionokokokok
ListCidrCollectionsfixedokokok
ListCidrLocationsfixedokokok
ListCidrBlocksfixedokfixedok
CreateQueryLoggingConfigokokokok
GetQueryLoggingConfigokokokok
DeleteQueryLoggingConfigokokokok
ListQueryLoggingConfigsokokokok
CreateReusableDelegationSetokokokok
GetReusableDelegationSetokokokok
DeleteReusableDelegationSetokokokok
ListReusableDelegationSetsfixedokokok
CountZonesByReusableDelegationSetokokokok
TestDNSAnswerokokokn/a
CreateTrafficPolicyokokokok
CreateTrafficPolicyVersionokokokok
CreateTrafficPolicyInstanceokokokok
UpdateTrafficPolicyInstanceokokokok
UpdateTrafficPolicyCommentokokokok
DeleteTrafficPolicyokokokok
GetTrafficPolicyokokokok
DeleteTrafficPolicyInstanceokokokok
GetTrafficPolicyInstanceokokokok
ListTrafficPoliciesfixedokokok
ListTrafficPolicyVersionsfixedokokok
ListTrafficPolicyInstancesfixedokokok
ListTrafficPolicyInstancesByHostedZonefixedokokok
ListTrafficPolicyInstancesByPolicyfixedokokok

Audited Feature Families ​

Feature FamilyStatus
record_typesok
routing_policiesok
dnssecok
errCodeLookupok

Released under the MIT License.