More Info:

Ensure GCP Load Balancer Storage Bucket are not deleted.

Risk Level

High

Address

Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the issue of a deleted GCP Load Balancer Storage Bucket for GCP DNS using the GCP console, follow these step-by-step instructions:

  1. Log in to the Google Cloud Platform (GCP) Console at https://console.cloud.google.com/.

  2. In the GCP Console, navigate to the “DNS” section by clicking on the menu icon in the top-left corner, then selecting “Networking” and finally “Cloud DNS”.

  3. In the Cloud DNS dashboard, locate the affected DNS zone and click on its name to open its details.

  4. In the DNS zone details, you will see a list of DNS records associated with that zone. Identify the record that was pointing to the deleted Load Balancer Storage Bucket.

  5. Click on the checkbox next to the record to select it.

  6. At the top of the DNS zone details page, click on the “Edit” button to enter the edit mode.

  7. In the edit mode, locate the record that was pointing to the deleted Load Balancer Storage Bucket and delete it by clicking on the trash bin icon next to it.

  8. Once the record is deleted, click on the “Add Record Set” button to add a new record.

  9. In the “Add Record Set” form, provide the necessary details to recreate the record:

    • Type: Select the appropriate record type (e.g., A, CNAME, etc.) based on your requirements.
    • Name: Enter the name of the record (e.g., subdomain.example.com).
    • TTL (optional): Set the desired Time-to-Live value for the record.
    • Data: Enter the destination IP address or hostname for the record.
  10. After entering the required details, click on the “Create” button to add the new record.

  11. Verify that the new record has been successfully added to the DNS zone.

  12. Repeat steps 8-11 if you have multiple records that need to be recreated.

By following these steps, you will be able to remediate the issue of a deleted GCP Load Balancer Storage Bucket for GCP DNS using the GCP console.