Trang này hướng dẫn cách tạo vùng liên kết. Để biết thông tin chi tiết về bối cảnh, hãy xem phần Khu vực liên kết ngang.
Các quyền cần thiết cho tác vụ này
Để thực hiện nhiệm vụ này, bạn phải được cấp các quyền sau hoặc các vai trò IAM sau.
Quyền
dns.managedZones.create để tạo một vùng được quản lý
dns.networks.targetWithPeeringZone để tạo vùng peering
dns.activePeeringZones.getZoneInfo để nhận thông tin về vùng liên kết
dns.activePeeringZones.list để liệt kê các vùng liên kết
dns.activePeeringZones.deactivate để huỷ kích hoạt vùng liên kết
Vai trò
roles/dns.admin
roles/dns.peer
Để tạo một vùng liên kết riêng tư được quản lý mới khi bạn cần một mạng VPC (mạng người dùng) để truy vấn thứ tự phân giải tên VPC của một mạng VPC khác (mạng nhà sản xuất), hãy làm theo các bước sau.
Bảng điều khiển
Trong Trusted Cloud console, hãy chuyển đến trang Tạo vùng DNS.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-06-27 UTC."],[[["\u003cp\u003eThis guide outlines the process of creating a peering zone, which enables one VPC network (consumer) to query the name resolution order of another VPC network (producer).\u003c/p\u003e\n"],["\u003cp\u003eCreating a peering zone requires specific permissions, such as \u003ccode\u003edns.managedZones.create\u003c/code\u003e, \u003ccode\u003edns.networks.targetWithPeeringZone\u003c/code\u003e, and the DNS Peer role (\u003ccode\u003eroles/dns.peer\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe creation process can be done through the Google Cloud console by providing the necessary network information and selecting the appropriate zone type and peering options.\u003c/p\u003e\n"],["\u003cp\u003eUsing the \u003ccode\u003egcloud\u003c/code\u003e CLI, a service account with the DNS Peer role in the producer VPC network project is required, and the \u003ccode\u003egcloud dns managed-zones create\u003c/code\u003e command facilitates zone creation.\u003c/p\u003e\n"],["\u003cp\u003eThe data in a peering zone comes from the producer VPC network, and you cannot directly add records to a peering zone.\u003c/p\u003e\n"]]],[],null,[]]