이 페이지의 일부 또는 전체 정보는 S3NS의 신뢰할 수 있는 클라우드에 적용되지 않을 수 있습니다.
관리형 영역의 작업 보기
Cloud DNS는 사용자가 작업으로 수행하는 관리형 영역 업데이트(설명 수정 또는 DNSSEC 상태 구성)를 기록합니다. 관리형 영역의 생성 및 삭제는 기록되지 않습니다. 또한 관리형 영역을 삭제하면 해당 영역의 기록된 작업도 삭제됩니다.
이러한 작업은 관리형 영역 내의 리소스 변경사항과 별개입니다. Google Cloud CLI 또는 REST API를 사용하여 이러한 업데이트 내역을 확인할 수 있습니다.
이 작업에 필요한 권한
이 작업을 수행하려면 다음과 같은 권한 또는 다음과 같은 IAM 역할을 부여받아야 합니다.
권한
dns.managedZoneOperations.list
dns.managedZoneOperations.get
역할
작업 감사 로그 표시
gcloud
다음 명령어를 실행합니다.
gcloud dns operations list --zones="ZONE_NAME"
ZONE_NAME
을 프로젝트의 DNS 영역 이름으로 바꿉니다.
이 명령어는 처음 100개 레코드의 리소스 레코드 집합을 JSON 형식으로 인쇄합니다. 추가 매개변수를 지정할 수 있습니다.
Python
from apiclient import errors
from apiclient.discovery import build
PROJECT_NAME='PROJECT_NAME'
ZONE_NAME='ZONE_NAME'
try:
service = build('dns', 'v1')
response = service.operations().list(project=PROJECT_NAME,
managedZone=ZONE_NAME).execute()
print(response)
except errors.HttpError, error:
print('An error occurred: %s' % error)
다음을 바꿉니다.
PROJECT_NAME
: 프로젝트의 이름
ZONE_NAME
: 프로젝트의 DNS 영역 이름
다음 단계
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-08-11(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-11(UTC)"],[[["Cloud DNS records managed zone updates, such as modifying descriptions or configuring DNSSEC state, are recorded as operations."],["You can use the Google Cloud CLI or the REST API to view the history of managed zone update operations, which are separate from changes to resources within the zone."],["To view these operations, you must have either the `dns.managedZoneOperations.list` and `dns.managedZoneOperations.get` permissions or the `roles/dns.admin` role."],["The `gcloud dns operations list --zones=\"ZONE_NAME\"` command can be used to display a JSON-formatted list of managed zone operations, with an optional `--limit` parameter to specify the number of operations."],["The Python code provided can also be used to programmatically display the managed zone operations."]]],[]]