> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-route53-public-zone-with-private-records.md). Agents can also search and read this documentation through its [MCP server](https://cortex-docs.paloaltonetworks.com/~gitbook/mcp).

# AWS Route53 Public Zone with Private Records

### Synopsis

| Field               | Value                                        |
| ------------------- | -------------------------------------------- |
| Rule Type           | Detection                                    |
| Finding Type        | AWS Route53 Public Zone with Private Records |
| Finding ID          | 60000242                                     |
| Generates a Finding | This detection rule also generates a finding |
| Severity            | Low                                          |
| Category            | CONFIGURATION                                |
| Cloud Providers     | AWS                                          |
| Platform Module     | CSPM                                         |
| Asset Types         | ROUTE53\_HOSTED\_ZONE                        |

### Description

Public AWS Route53 zones containing private records present a significant security misconfiguration. This exposes internal network resources and information to unauthorized external parties.

Route53's public zones are designed for internet-facing DNS resolution. Including private IP addresses in these zones allows anyone to query and discover internal infrastructure. This information leakage could lead to reconnaissance for further attacks, enabling attackers to map your network and identify potential targets for exploitation.

The impact of this misconfiguration is compromised confidentiality and increased attack surface for your organization. Best practice dictates separating public and private DNS zones to prevent unintended exposure of internal resources. Maintaining this separation improves overall security posture.

To mitigate this, ensure all private resources use a private hosted zone within your VPC. Public zones should only contain DNS records for publicly accessible resources. Regularly review Route53 configurations to identify and remove any private IP addresses from public zones.

### Remediation

You can not convert a public hosted zone into a private hosted zone. So, it is recommended to create and configure a Private Hosted Zone to manage private IPs within your Virtual Private Cloud (VPC) as Amazon Route 53 service will only return your private DNS records when queried from within the associated VPC, and delete the associated public hosted zone once the Private hosted zone is configured with all the records.

To create a private hosted zone using the Route 53 console:

1.For each VPC that you want to associate with the Route 53 hosted zone, change the following VPC settings to true:

'enableDnsHostnames'

'enableDnsSupport'

For more information, see Updating DNS Support (<http://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/vpc-dns.html#vpc-dns-updating>) for Your VPC in the Amazon VPC User Guide.

2. Sign in to the AWS console
3. Go to Route 53 console
4. If you are new to Route 53, choose Get Started Now under DNS Management. If you are already using Route 53, choose Hosted Zones in the navigation pane.
5. Choose 'Create Hosted Zone'
6. In the Create Private Hosted Zone pane, enter a domain name and, optionally, a comment.

   For information about how to specify characters other than a-z, 0-9, and - (hyphen) and how to specify internationalized domain names, see DNS Domain Name Format (<https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DomainNameFormat.html>).
7. In the Type list, choose Private Hosted Zone for Amazon VPC
8. In the VPC ID list, choose the VPC that you want to associate with the hosted zone. If you want to associate more than one VPC with the hosted zone, you can add VPCs after you create the hosted zone.

   Note: If the console displays the following message, you are trying to associate a VPC with this hosted zone that has already been associated with another hosted zone that has an overlapping namespace, such as example.com and retail.example.com:

   'A conflicting domain is already associated with the given VPC or Delegation Set.'
9. Choose Create
10. To associate more VPCs with the new hosted zone, perform the following steps:
    1. Choose Back to Hosted Zones.
    2. Choose the radio button for the hosted zone.
    3. In the right pane, in VPC ID, choose another VPC that you want to associate with the hosted zone.
    4. Choose Associate New VPC.
    5. Repeat steps c and d until you have associated all of the VPCs that you want to with the hosted zone.

For More Information : <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/hosted-zone-private-creating.html>

To delete a public hosted zone using the Route 53 console:

1. Sign into the AWS console
2. Go Route53 console
3. Confirm that the hosted zone that you want to delete contains only an NS and an SOA record. If it contains additional records, delete them:
   1. Choose the name of the hosted zone that you want to delete.
   2. On the Record Sets page, if the list of records includes any records for which the value of the Type column is something other than NS or SOA, choose the row, and choose Delete Record Set. To select multiple, consecutive records, choose the first row, press and hold the Shift key, and choose the last row. To select multiple, non-consecutive records, choose the first row, press and hold the Ctrl key, and choose the remaining rows. Note: If you created any NS records for subdomains in the hosted zone, delete those records, too.
   3. Choose Back to Hosted Zones
4. On the Hosted Zones page, choose the row for the hosted zone that you want to delete.
5. Choose Delete Hosted Zone.
6. Choose OK to confirm.
7. If you want to make the domain unavailable on the internet, we recommend that you transfer DNS service to a free DNS service and then delete the Route 53 hosted zone. This prevents future DNS queries from possibly being misrouted. If the domain is registered with Route 53, see Adding or Changing Name Servers and Glue Records for a Domain (<https://docs.aws.amazon.com/Route53/latest> DeveloperGuide/domain-name-servers-glue-records.html) for information about how to replace Route 53 nameservers with name servers for the new DNS service. If the domain is registered with another registrar, use the method provided by the registrar to change name servers for the domain.

For More Information : <https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DeleteHostedZone.html>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://cortex-docs.paloaltonetworks.com/posture-rules/cloud-saas-active-directory-posture-rules/cortex-posture-query-based-rules/detection-rules-by-name/aws-route53-public-zone-with-private-records.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
