ไม่ว่าจะใช้ OS ไหน ความสำคัญของ Cache Memory ไม่สามารถมองข้ามได้ Cache Memory เป็นส่วนประกอบสำคัญของอุปกรณ์ใดๆ ช่วยปรับปรุงประสิทธิภาพระบบโดยรวม โดยลดเวลาที่ CPU รอดึงข้อมูลจาก Main Memory Cache Memory เป็นหน่วยความจำความเร็วสูง ทำหน้าที่เป็น Temporary Storage เก็บข้อมูลที่เข้าถ่ายบ่อย
แหล่งภาพ: Medium
บทความนี้จะเรียนรู้เกี่ยวกับ DNS Cache คืออะไร ทำไมสำคัญ และวิธี Clear DNS Cache บน Windows 11
DNS Cache บน Windows คืออะไร?
DNS Cache เป็น Temporary Storage เก็บข้อมูลเกี่ยวกับ DNS Lookups ก่อนหน้าบน Browser หรือ OS การเก็บ Local Copy ของ DNS ทำให้ OS ดึงข้อมูลที่จำเป็นและ Resolve IP ได้รวดเร็ว
อ่านเพิ่ม: How to Clear Chrome DNS Cache?
ทำไมต้อง Flush DNS Cache?
แหล่งภาพ: Kinsta
มีหลายเหตุผลที่ต้องการ Clear หรือ Delete DNS Cache บนอุปกรณ์ใดๆ เมื่อเจอปัญหา Internet Connection การ Flush DNS Cache แนะนำมาก นอกจากนี้ การ Clear DNS Cache ลบ Record เก่า ทำให้ Request ใหม่ไม่ถูกบล็อก หาก DNS Cache มีข้อมูลเก่า อาจเข้าถึงเว็บ/แอพยาก
Clear DNS Cache บน Windows สำคัญจากมุมมองความปลอดภัย ลบ DNS Cache จะ Flush ข้อมูลที่อาจเป็นอันตรายหรือเก่า ทำให้อุปกรณ์ปลอดภัยจาก DNS Attacks มากขึ้น
อ่านเพิ่ม: How to Clear Cache in Windows 11?
วิธี Clear DNS Cache บน Windows 11
หากเจอปัญหาโหลดเว็บ/เพจเฉพาะ Flush DNS Cache ช่วย Troubleshooting ได้ วิธีทำให้ท่องเน็ตลื่นไหลโดย Clear DNS Cache:
1. ผ่าน Command Prompt
ค้นหา "Command Prompt" Taskbar เลือก "Run as administrator"

Command Prompt เปิดโหมด Admin ใน Terminal พิมพ์คำสั่ง กด Enter:
ipconfig /flushdns

เสร็จแล้วครับ!
หากต้องการตรวจสอบจำนวน Entries ใน DNS Cache ก่อนลบ รันคำสั่ง:
ipconfig /displaydns
จะได้ข้อมูลจำนวน Entries ที่เก็บอยู่ใน DNS Cache
อ่านเพิ่ม: What is DNS Spoofing? How To Save Yourself
2. ผ่าน Windows PowerShell
ใช้ Windows PowerShell App Flush DNS Cache ได้:
ค้นหา "PowerShell" Taskbar กด Enter

PowerShell Window พิมพ์คำสั่ง กด Enter:
Clear-DnsClientCache
3. ใช้ Windows Services Manager
วิธีที่ 3 Clear DNS Cache ผ่าน Windows Services Manager:
กด Windows + R เปิด Run พิมพ์ "Services.msc" กด Enter

Services Window หา "DNS Client" Service

คลิกขวา เลือก "Restart" เพื่อ Clear DNS Cache
อ่านเพิ่ม: How To Fix Server DNS Address Could Not Be Found On Google Chrome
สรุป
จบคู่มือ Clear DNS Cache บน Windows หลายวิธี Flush DNS Cache ช่วยแก้ปัญหาบางอย่าง และเพิ่มความเร็ว Internet Connection หากเจอปัญหาโหลดเว็บเฉพาะ Clear DNS Cache ช่วย Troubleshooting ได้
บทความช่วยได้ไหม? เรียนรู้อะไรใหม่เกี่ยว DNS Cache ไหม? แชร์ความคิดเห็นได้เลย!