This page helps users to configure the DNS logs to ingest into the Google Cloud Storage bucket:
Note:
Enable the Cloud DNS API.

Navigate to Cloud DNS -> DNS server policies.
Click Create policy.

Configure the DNS logging policy:
dns-logging-policy
Note: DNS logging applies at the VPC level and requires DNS activity to generate logs.