Viewing operations on managed zones

Managed zone updates that you make (modifying descriptions or DNSSEC state or configuration) are recorded by Cloud DNS as operations. Managed zone creation and deletion are not recorded; deletion of a managed zone also deletes recorded operations on the zone.

These operations are independent of changes you make to the resources within the managed zone. You can see the history of these updates with the command-line tool or REST API.

Displaying audit log of operations

Command line

gcloud dns operations list --zones="myzonename"

This command prints the JSON formatted resource record sets for the first 100 records. You can specify an additional parameter:

  • --limit: Maximum number of operations to list.


from apiclient import errors
from apiclient.discovery import build


  service = build('dns', 'v1')
  response = service.operations().list(project=PROJECT_NAME,
except errors.HttpError, error:
  print('An error occurred: %s' % error)

Next steps