More Info:

No security group should allow unrestricted inbound access to TCP and UDP port 53 (DNS).

Risk Level

Medium

Address

Security

Compliance Standards

HIPAA, AWSWAF, GDPR, SOC2, NISTCSF, PCIDSS, FedRAMP

Triage and Remediation

Remediation

To remediate the unrestricted DNS access issue in AWS, you can follow the below steps:

  1. Login to the AWS console and navigate to the Route 53 service.
  2. Click on the Hosted Zones option in the left-hand menu.
  3. Select the hosted zone for which you want to restrict DNS access.
  4. Click on the “Create Record Set” button to create a new record set.
  5. In the “Name” field, enter the domain name for which you want to restrict DNS access.
  6. In the “Type” field, select the appropriate DNS record type (such as A, CNAME, etc.).
  7. In the “Value” field, enter the IP address or domain name of the resource that the DNS record should point to.
  8. Scroll down to the “Routing Policy” section and select “Simple” routing policy.
  9. In the “Alias” section, select “No” to disable the alias feature.
  10. Click on the “Create” button to create the record set.

By following these steps, you have created a new DNS record set that restricts access to the specified resource. Only authorized users will be able to access the resource through the DNS record.

Additional Reading: