> For the complete documentation index, see [llms.txt](https://docs.dnscontrol.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dnscontrol.org/language-reference/record-modifiers/service-provider-specific/amazon-route-53/r53_zone.md). Agents can also search and read this documentation through its [MCP server](https://docs.dnscontrol.org/~gitbook/mcp).

# R53\_ZONE

`R53_ZONE` lets you specify the AWS Zone ID for an entire domain ([`D()`](https://docs.dnscontrol.org/language-reference/top-level-functions/d.md)) or a specific [`R53_ALIAS()`](https://docs.dnscontrol.org/language-reference/domain-modifiers/service-provider-specific/amazon-route-53/r53_alias.md) record.

When used with [`D()`](https://docs.dnscontrol.org/language-reference/top-level-functions/d.md), it sets the zone id of the domain. This can be used to differentiate between split horizon domains in public and private zones. See this [example](https://docs.dnscontrol.org/provider/route53.md#split-horizon) in the [Amazon Route 53 provider page](https://docs.dnscontrol.org/provider/route53.md).

When used with [`R53_ALIAS()`](https://docs.dnscontrol.org/language-reference/domain-modifiers/service-provider-specific/amazon-route-53/r53_alias.md) it sets the required Route53 hosted zone id in a R53\_ALIAS record. See [`R53_ALIAS()`](https://docs.dnscontrol.org/language-reference/domain-modifiers/service-provider-specific/amazon-route-53/r53_alias.md) documentation for details.
