Medium

Ensure VPC Peering DNS resolution is enabled

AWS Cost Optimization
No items found.
Description

By default, Amazon VPC peering connections do not include support for resolving DNS queries between peered VPCs. This means that, in a peered VPC setup, resources in one VPC cannot resolve the private DNS names of resources in the other VPC. This can cause issues in some scenarios where you have services that rely on internal DNS resolution.

Remediation

To ensure VPC Peering DNS resolution is enabled, you can follow these remediation steps:

  1. In the AWS Management Console, navigate to the VPC service.
  2. Select the requester VPC and then click on the "Peering Connections" tab.
  3. Select the peering connection that you want to modify.
  4. Click on the "Actions" button and then click on "Edit DNS Settings".
  5. Select the "Enable DNS resolution" option and click "Save".
  6. Repeat the above steps for the accepter VPC.

After you enable DNS resolution, the private DNS names of the resources in the peered VPCs can be resolved using the Amazon-provided DNS server located at a reserved IP address in the VPC CIDR block range.

Enforced Resources
Note: Remediation steps provided by Lightlytics are meant to be suggestions and guidelines only. It is crucial to thoroughly verify and test any remediation steps before applying them to production environments. Each organization's infrastructure and security needs may differ, and blindly applying suggested remediation steps without proper testing could potentially cause unforeseen issues or vulnerabilities. Therefore, it is strongly recommended that you validate and customize any remediation steps to meet your organization's specific requirements and ensure that they align with your security policies and best practices.