DNS sự kiên trì DNS persistence DNS អំណោយ
Hướng dẫn chi tiết đồng bộ từ docs Cloudflare — mỗi section có backlink tới đúng vị trí trên trang gốc. Detailed guide synced from Cloudflare docs — each section links to the matching anchor on the official page. មគ្គុទ្ទេសក៍លម្អិតធ្វើសមកាលពី docs Cloudflare — ផ្នែកនីមួយៗមានតំណទៅទីតាំងត្រូវគ្នានៅទំព័រផ្លូវការ។
← Danh mục ← Catalog ← បញ្ជីGiải thích nhanh Quick context បរិបទរហ័ស
Thuộc nhóm Application Services — tập trung bảo vệ, tăng tốc và vận hành ứng dụng/web phía trước origin. Tutorial «DNS persistence» giúp bạn làm quen luồng triển khai thật — phù hợp đọc trước khi mở tài liệu gốc tiếng Anh. Đọc phần tóm tắt và lưu ý trước — sau đó mở docs gốc để copy lệnh và cấu hình chi tiết.
Maintain consistent DNS responses for load balanced hostnames.
សូមរក្សាទុកការឆ្លើយតប DNS សម្រាប់ឈ្មោះក្រុមហ៊ុនផ្គត់ផ្គង់ដែលមានកម្រិតខ្ពស់។
Lưu ý Note ចំណាំ
Lưu ý trước khi làm Notes before you start ចំណាំមុនពេលចាប់ផ្តើម
- Đây là bản tóm tắt trên Orange Cloud Learning Hub — không thay thế tài liệu chính thức.
- Luôn mở liên kết «Tài liệu gốc» bên dưới khi cần lệnh CLI, snippet code và ảnh minh họa đầy đủ.
- Docs Cloudflare cập nhật thường xuyên — đối chiếu ngày «Rà soát lần cuối» trên trang gốc khi triển khai production.
- This is a summary on Orange Cloud Learning Hub — it does not replace the official documentation.
- Open the Official docs link below for CLI commands, code snippets, and full screenshots.
- Cloudflare docs change frequently — verify the Last reviewed date on the official page before production use.
- នេះគឺជាការបញ្ជាក់អំពី Orange Cloud Learning Hub — វាគឺជាការផ្លាស់ប្តូរនៃឯកសារផ្លូវការ។
- ចុចតំណភ្ជាប់ Docs Official នៅខាងក្រោមសម្រាប់ការបញ្ជា CLI, សៀវភៅកូដនិងរូបថតពេញលេញ។
- Cloudflare បានផ្លាស់ប្តូរជាធម្មតានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅពេលវេលានៅ។
Overview Overview Overview
Phần «Tổng quan» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Overview" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «Overview» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
DNS-chỉ load balancing sự kiên trì DNS-only load balancing persistence DNS-ប្រហែលជា load balancing បានបញ្ចប់
Phần «DNS-only load balancing persistence» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "DNS-only load balancing persistence" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «DNS-ប្រហែលជា load balancing បានបញ្ចប់» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
Phương pháp 1: Geo-steering dựa trên vị trí PoP (đề nghị) Method 1: Geo-steering based on PoP location (Recommended) គោលបំណង 1: Geo-steering based on PoP location (recommended)
Phần «Method 1: Geo-steering based on PoP location (Recommended)» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Method 1: Geo-steering based on PoP location (Recommended)" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «គោលបំណង 1: Geo-steering based on PoP location (recommended)» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Tạo một pool cho mỗi endpoint. Không áp dụng tải thả cho cả hai hồ bơi.
- Tạo DNS-chỉ load balancer và thêm cả hai nhóm. Đảm bảo
pool<em>1được đặt trướcpool</em>2. - Trong Traffic Steering, chọn Geo Steering.
- Tạo quy tắc điều khiển địa lý cho một khu vực (ví dụ, Eastern North America) và chọn cùng một nhóm nhưng theo thứ tự ngược lại (
pool<em>2đầu tiên, sau đópool</em>1). - Sử dụng Never prefer ECS và PoP location để xác định nguồn của yêu cầu.
- Create a pool for each endpoint. Do not apply load shedding to either pool.
- Create a DNS-only load balancer and add both pools. Ensure
pool<em>1is ordered beforepool</em>2. - Under Traffic Steering, select Geo Steering.
- Create a geo-steering rule for a region (for example, Eastern North America) and select the same pools but in reverse order (
pool<em>2first, thenpool</em>1). - Use Never prefer ECS and PoP location to determine the source of the request.
- បានបង្កើតក្រុមហ៊ុនមួយសម្រាប់ការបញ្ចប់ទាំងអស់។ សូមមិនអនុវត្តការបាត់បន្ថយទម្ងន់ទៅលើបំពង់ទាំងពីរ។
- បានបង្កើត DNS-តែ load balancer ហើយបន្ថែមទាំងពីរក្រុមហ៊ុន។ សូមធានាថា
pool<em>1គឺជាការបញ្ជាមុនpool</em>2។ - នៅក្រោម Traffic Steering ចុច Geo Steering ។
- Create a geo-steering rule for a region (for example, Eastern North America) and select the same pools but in reverse order (
pool<em>2first, thenpool</em>1). - ប្រើ Never prefer ECS និង PoP location ដើម្បីកំណត់ប្រភពនៃសំណួរ។
Phương pháp 2: Load shedding với IP hash Method 2: Load shedding with IP hash ឧបករណ៍ 2: Load shedding ជាមួយ IP hash
Phần «Method 2: Load shedding với IP hash» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Method 2: Load shedding with IP hash" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «ឧបករណ៍ 2: Load shedding ជាមួយ IP hash» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Tạo một nhóm cho mỗi điểm cuối (ví dụ:
pool<em>1vớiendpoint</em>1vàpool<em>2vớiendpoint</em>2). - Trên nhóm đầu tiên, chọn Hash dưới Endpoint Steering.
- Cài đặt Load Shedding:
- Create a pool for each endpoint (for example,
pool<em>1withendpoint</em>1andpool<em>2withendpoint</em>2). - On the first pool, select Hash under Endpoint Steering.
- Configure Load Shedding:
- បានបង្កើតក្រុមប្រឹក្សាភិបាលសម្រាប់បញ្ចប់ទាំងអស់ (ដូចជា
pool<em>1ជាមួយendpoint</em>1និងpool<em>2ជាមួយendpoint</em>2) ។ - នៅលើបំពង់ដំបូងចុច Hash នៅក្រោម Endpoint Steering ។
- ទាញយក Load Shedding:
- Tạo DNS-chỉ load balancer và thêm cả hai nhóm. Đảm bảo
pool<em>1được đặt trướcpool</em>2. - Không cấu hình điều khiển hoặc quy tắc giao thông bổ sung.
- Create a DNS-only load balancer and add both pools. Ensure
pool<em>1is ordered beforepool</em>2. - Do not configure additional traffic steering or rules.
- បានបង្កើត DNS-តែ load balancer ហើយបន្ថែមទាំងពីរក្រុមហ៊ុន។ សូមធានាថា
pool<em>1គឺជាការបញ្ជាមុនpool</em>2។ - មិនបង្កើតការបញ្ជាការបញ្ជាការបញ្ជាការបញ្ជាការបញ្ជាការបញ្ជាការបញ្ជាការបញ្ជាការបញ្ជាការបញ្ជាការបញ្ជា។
Phương pháp 3: Quy tắc tùy chỉnh với lọc nguồn IP Method 3: Custom rules with IP source filtering គោលបំណង 3: គោលបំណងផ្ទាល់ខ្លួនជាមួយ IP គោលបំណងប្រភព
Phần «Method 3: Custom rules với IP source filtering» — đọc hướng dẫn bên dưới, dùng liên kết docs gốc để xem ảnh minh họa và tab cấu hình đầy đủ.
Read the "Method 3: Custom rules with IP source filtering" section below — open the official docs link for full screenshots and configuration tabs.
អានផ្នែក «គោលបំណង 3: គោលបំណងផ្ទាល់ខ្លួនជាមួយ IP គោលបំណងប្រភព» ខាងក្រោម — បើកតំណ docs ផ្លូវការសម្រាប់រូបភាព និង tab កំណត់។
- Tạo một pool cho mỗi endpoint. Không áp dụng tải thả cho cả hai hồ bơi.
- Tạo DNS-chỉ load balancer và thêm cả hai nhóm. Đảm bảo
pool<em>1được đặt trướcpool</em>2. - Đừng cấu hình điều khiển giao thông.
- Tạo Custom Rule với:
- Create a pool for each endpoint. Do not apply load shedding to either pool.
- Create a DNS-only load balancer and add both pools. Ensure
pool<em>1is ordered beforepool</em>2. - Do not configure traffic steering.
- Create a Custom Rule with:
- បានបង្កើតក្រុមហ៊ុនមួយសម្រាប់ការបញ្ចប់ទាំងអស់។ សូមមិនអនុវត្តការបាត់បន្ថយទម្ងន់ទៅលើបំពង់ទាំងពីរ។
- បានបង្កើត DNS-តែ load balancer ហើយបន្ថែមទាំងពីរក្រុមហ៊ុន។ សូមធានាថា
pool<em>1គឺជាការបញ្ជាមុនpool</em>2។ - មិនចែកចាយការចែកចាយការចែកចាយដំណើរការ
- បានបង្កើត Custom Rule ជាមួយនឹង:
0.0.0.0/1 cho nửa dưới của không gian IPv4)0.0.0.0/1 for the lower half of IPv4 space)0.0.0.0/1 for the lower half of IPv4 space)- Đối với quy tắc action, chọn Override & > Endpoints và đặt các nhóm theo thứ tự ngược lại (
pool<em>2,pool</em>1).
- For the rule action, choose Override \> Endpoints and set the pools in reverse order (
pool<em>2,pool</em>1).
- សម្រាប់ច្បាប់ action, ជ្រើស Override \> Endpoints ហើយកំណត់ថ្នាំសូម្បីតែប្រសើរឡើង (
pool<em>2,pool</em>1) ។
Xem bản đầy đủ trên developers.cloudflare.com (ảnh, tab cấu hình). View the full guide on developers.cloudflare.com (images, config tabs). មើលមគ្គុទ្ទេសក៍ពេញលើ developers.cloudflare.com (រូបភាព, tab កំណត់)។
Tài liệu gốc ↗ Official docs ↗ ឯកសារផ្លូវការ ↗