Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

แก้ DNS server not authoritative for zone error ใน Windows 11/10

ตอนรัน CMD shortcuts จากตำแหน่งไม่มาตรฐาน อาจเจอข้อความ 'DNS Server not authoritative for this zone' อาจป้องกันงานสำคัญ มาดูวิธีแก้ปัญหา DNS นี้

แก้ DNS server not authoritative for zone error ใน Windows 11/10

วิธีแก้ DNS server not authoritative for zone error

ข้อความเต็ม:

The system cannot find message test for message in the file for Application, DNS Server not authoritative for zone

ลอง troubleshooting ด้านล่าง:

  1. รัน Command Prompt จาก directory โดยตรง
  2. Flush DNS
  3. สร้าง CMD shortcut ใหม่
  4. สร้าง Local User account ใหม่
  5. ใช้ PowerShell แทน

1. รัน Command Prompt จาก directory โดยตรง

แก้ DNS server not authoritative for zone error ใน Windows 11/10

บางครั้ง indirect directories unauthorized หรือ corrupt พยายามรัน CMD จาก shortcut บนเดสก์ท็อป ได้ error ให้รัน CMD จาก directory โดยตรง:

Search พิมพ์ command prompt

เปิด CMD คลิกขวา command prompt เลือก Open file location

หน้าต่างใหม่เปิด แสดง shortcuts ต่างๆ

เลือก CMD เปิด

ดูว่า DNS Server not authoritative for this zone ยังขึ้นไหม

วิธีนี้ช่วยหลายคน

2. Flush DNS

ล้าง DNS cache:

พิมพ์ CMD ใน search bar

คลิกขวา CMD Run as administrator

พิมพ์ ipconfig /flushdns Enter

รีสตาร์ทคอมพิวเตอร์

ตรวจสอบว่าแก้ไหม

3. สร้าง CMD shortcut ใหม่

Workaround อีกอย่าง สร้าง CMD shortcut ใหม่:

คลิกขวาพื้นที่ว่างเดสก์ท็อป New > Shortcut

ใน Create Shortcut box พิมพ์ %COMSPEC% Next

ในช่อง Type a name for this shortcut ใส่ Command Prompt

Finish เพิ่ม shortcut บนเดสก์ท็อป

4. สร้าง Local User account ใหม่

แม้ Microsoft account จะดี แต่หากเข้าถึงแอปบางอย่างไม่ได้ ลองสร้าง Local User account ใช้ PowerShell สร้างง่าย

5. ใช้ PowerShell แทน

หากวิธีข้างต้นไม่ได้ ใช้ Windows PowerShell ทำงานเหมือน Command Prompt

PowerShell รับและคืน .NET objects ไม่ใช่แค่ text

นอกจากนี้ ลอง restore system files health ตรวจสอบสถานะ หรือเปิด CMD จากโฟลเดอร์

ตรวจสอบ DNS settings ใน Windows ยังไง?

  • เปิด Control Panel > Network Connections
  • คลิกขวา network connection ที่ใช้ > Properties
  • ดับเบิลคลิก Internet Protocol (TCP/IP)
  • ติ๊ก Obtain an IP address automatically

ทำให้ server authoritative สำหรับ zone ยังไง?

  • เปิด Control Panel > Administrative Tools > DNS
  • ใน DNS Manager console tree คลิกขวา zone ที่เกี่ยวข้อง > Properties
  • แท็บ Name Servers > Add ระบุ DNS servers เพิ่มด้วยชื่อและ IP
  • คลิก Add เพิ่มในรายการ

หวังว่าช่วยได้!

แก้ DNS server not authoritative for zone error ใน Windows 11/10