ข้อมูลเบื้องต้นเกี่ยวกับ DNS สาธารณะของ Google
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ทำไมต้องใช้ Google Public DNS
เนื่องจากหน้าเว็บจะซับซ้อนขึ้นและมีทรัพยากรจากโดเมนต้นทางหลายโดเมนมากขึ้น ไคลเอ็นต์จึงต้องทำการค้นหา DNS หลายครั้งเพื่อแสดงผลหน้าเว็บเดียว
ผู้ใช้อินเทอร์เน็ตโดยเฉลี่ยทำการค้นหา DNS หลายร้อยรายการในแต่ละวัน ซึ่งทำให้การท่องเว็บช้าลง
เมื่อเว็บเติบโตขึ้นเรื่อยๆ โครงสร้างพื้นฐานของ DNS ที่มีอยู่ก็จะเพิ่มขึ้นตามไปด้วย
เนื่องจากเครื่องมือค้นหาของ Google ทำการ Crawl เว็บเป็นประจำทุกวัน และในกระบวนการแก้ไขและแคชข้อมูล DNS เราจึงต้องการใช้ประโยชน์จากเทคโนโลยีของเราในการทดลองวิธีใหม่ๆ ในการจัดการกับความท้าทายด้าน DNS ที่มีอยู่บางส่วนเกี่ยวกับประสิทธิภาพและความปลอดภัย
เราให้บริการนี้แก่สาธารณชนเพื่อให้บรรลุเป้าหมายต่อไปนี้
- ให้ทางเลือกแก่ผู้ใช้ปลายทางนอกเหนือจากบริการ DNS ปัจจุบัน
Google Public DNS ใช้แนวทางใหม่ๆ ที่เราเชื่อว่าให้ผลลัพธ์ที่ถูกต้องมากขึ้น ความปลอดภัยที่เพิ่มขึ้น และในกรณีส่วนใหญ่จะมีประสิทธิภาพดีขึ้น
- ช่วยลดภาระการทำงานบนเซิร์ฟเวอร์ DNS ของ ISP
การใช้ประโยชน์จากศูนย์ข้อมูลและโครงสร้างพื้นฐานการแคชทั่วโลกของเราทำให้เราตอบสนองคำขอจำนวนมากของผู้ใช้ได้โดยตรงโดยไม่ต้องค้นหารีโซลเวอร์ DNS อื่นๆ
- ช่วยให้เว็บเร็วและปลอดภัยยิ่งขึ้น
เรากำลังเปิดตัวบริการนี้เพื่อทดสอบวิธีใหม่ๆ ในการจัดการปัญหาที่เกี่ยวกับ DNS
เราหวังว่าจะได้แชร์สิ่งที่เราได้เรียนรู้กับนักพัฒนาซอฟต์แวร์รีโซลเวอร์ DNS และชุมชนเว็บในวงกว้างขึ้น รวมทั้งรับฟังความคิดเห็นของพวกเขา
Google Public DNS คืออะไร
Google Public DNS เป็นรีโซลเวอร์ DNS แบบทำซ้ำ ซึ่งคล้ายกับบริการอื่นๆ ที่เผยแพร่ต่อสาธารณะ
เราคิดว่าวิธีนี้จะมีประโยชน์มากมาย เช่น การรักษาความปลอดภัยที่ดีขึ้น ประสิทธิภาพที่รวดเร็ว และผลลัพธ์ที่ใช้ได้จริงอีกมากมาย
ดูภาพรวมของการเพิ่มประสิทธิภาพทางเทคนิคที่เราใช้ที่ด้านล่าง
อย่างไรก็ตาม DNS สาธารณะของ Google ไม่อยู่ในรูปแบบต่อไปนี้
- บริการชื่อโดเมนระดับบนสุด (TLD)
- บริการโฮสติ้ง DNS หรือบริการเฟลโอเวอร์
Google Public DNS ไม่ใช่ผู้ให้บริการแอปพลิเคชัน DNS บุคคลที่สามที่โฮสต์ระเบียนที่เชื่อถือได้สำหรับโดเมนอื่น
หากคุณกำลังมองหาเนมเซิร์ฟเวอร์ที่เชื่อถือได้จำนวนมากที่ตั้งโปรแกรมได้ซึ่งใช้โครงสร้างพื้นฐานของ Google ให้ลองใช้ Cloud DNS ของ Google
- บริการชื่อที่เชื่อถือได้
เซิร์ฟเวอร์ DNS สาธารณะของ Google ไม่ได้รับอนุญาตสำหรับโดเมนใดๆ
Google มีเนมเซิร์ฟเวอร์อีกชุดหนึ่งที่ได้รับอนุญาตสำหรับโดเมนที่จดทะเบียน ซึ่งโฮสต์ไว้ที่ ns[1-4].google.com
- บริการบล็อกมัลแวร์
DNS สาธารณะของ Google แทบจะไม่ดำเนินการบล็อกหรือกรอง แต่ก็อาจเป็นไปได้หากเราเชื่อว่าการดำเนินการนี้จำเป็นต่อการปกป้องผู้ใช้จากภัยคุกคามด้านความปลอดภัย หรือตามที่กฎหมายกำหนด ในกรณีที่ไม่ธรรมดาเช่นนี้ จะตอบคำถามไม่ได้ และจะไม่สร้างผลลัพธ์ที่ดัดแปลง
ภาพรวมของสิทธิประโยชน์และการเพิ่มประสิทธิภาพ
Google Public DNS ใช้การปรับปรุงความปลอดภัย ประสิทธิภาพ และการปฏิบัติตามข้อกำหนดจำนวนมาก
เราจะแสดงภาพรวมคร่าวๆ เกี่ยวกับการปรับปรุงเหล่านั้นด้านล่าง
หากคุณเป็นนักพัฒนาซอฟต์แวร์หรือผู้ปรับใช้ซอฟต์แวร์ DNS เราหวังว่าคุณจะได้อ่านหน้าข้อมูลทางเทคนิคในเว็บไซต์นี้เพื่อดูข้อมูลเพิ่มเติมเกี่ยวกับฟีเจอร์เหล่านี้
ท้ายที่สุดแล้ว เราหวังที่จะได้แชร์ข้อมูลเชิงลึกและสร้างแรงบันดาลใจให้ชุมชนนำฟีเจอร์เหล่านี้มาปรับใช้ในรีโซลเวอร์ DNS ทั้งหมด
การเปลี่ยนแปลงแบ่งออกเป็น 3 หมวดหมู่ดังนี้
ผู้ให้บริการ DNS หลายรายไม่ได้รับการจัดสรรอย่างเพียงพอในการรองรับอินพุต/เอาต์พุตและการแคชปริมาณสูง รวมถึงสร้างสมดุลระหว่างภาระงานของเซิร์ฟเวอร์ได้เพียงพอ
Google Public DNS ใช้แคชขนาดใหญ่ระดับ Google และการเข้าชมของผู้ใช้ที่มีการจัดสรรภาระงานเพื่อให้แน่ใจว่ามีการแคชร่วมกัน ซึ่งช่วยให้เราตอบคำถามจำนวนมากจากแคชได้
สําหรับข้อมูลเพิ่มเติม ดูหน้าประโยชน์ด้านประสิทธิภาพ
ความปลอดภัย
DNS เสี่ยงต่อการโจมตีด้วยการปลอมแปลงหลายชนิดซึ่งอาจ "ทำอันตราย" แคชของเนมเซิร์ฟเวอร์และนำผู้ใช้ไปยังเว็บไซต์ที่เป็นอันตราย
ความแพร่หลายของการแสวงหาประโยชน์จาก DNS หมายความว่าผู้ให้บริการต้องใช้การอัปเดตและแพตช์ของเซิร์ฟเวอร์อยู่บ่อยๆ
นอกจากนี้รีโซลเวอร์ DNS แบบเปิดยังเสี่ยงต่อการถูกนำไปใช้โจมตีแบบปฏิเสธการให้บริการ (DoS) ในระบบอื่นๆ อีกด้วย
เพื่อป้องกันการโจมตีดังกล่าว Google ได้ใช้โซลูชันที่แนะนำหลายอย่างเพื่อรับประกันความน่าเชื่อถือของคำตอบที่ได้รับจากเนมเซิร์ฟเวอร์อื่นๆ และเพื่อให้มั่นใจว่าเซิร์ฟเวอร์ของเราไม่ได้ใช้สำหรับการโจมตีแบบ DoS
นอกจากการรองรับโปรโตคอล DNSSEC โดยสมบูรณ์แล้ว ยังรวมถึงการเพิ่มเอนโทรปีไปยังคำขอ การจำกัดอัตราการรับส่งข้อมูลของไคลเอ็นต์ และอื่นๆ อีกมากมาย
นอกจากนี้ Google Public DNS อาจไม่แปลงบางโดเมน หากเราเชื่อว่าการดำเนินการนี้จำเป็นต่อการปกป้องผู้ใช้ Google จากภัยคุกคามด้านความปลอดภัย
ดูข้อมูลเพิ่มเติมได้ที่หน้าเกี่ยวกับประโยชน์ด้านความปลอดภัย
ความถูกต้อง
Google Public DNS ทำงานอย่างดีที่สุดเพื่อส่งคืนคำตอบที่ถูกต้องให้กับคำค้นหาทุกคำทุกครั้ง ตามมาตรฐาน DNS
บางครั้งในกรณีที่เป็นคำค้นหาชื่อโดเมนที่พิมพ์ผิดหรือไม่มีอยู่จริง คำตอบที่ถูกต้องอาจหมายถึงไม่มีคำตอบ หรือข้อความแสดงข้อผิดพลาดที่ระบุว่าชื่อโดเมนนั้นไม่สามารถแก้ไขได้
นอกจากนี้ อาจแก้ปัญหาบางโดเมนไม่ได้หากเราเชื่อว่าการดำเนินการนี้จำเป็นต่อการปกป้องผู้ใช้จากภัยคุกคามด้านความปลอดภัย
Google Public DNS จะไม่เปลี่ยนเส้นทางผู้ใช้ ซึ่งต่างจากรีโซลเวอร์เปิดและ ISP บางรายการ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eGoogle Public DNS is a free, publicly available recursive DNS resolver offered by Google to enhance internet speed, security, and result accuracy.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Public DNS leverages Google's vast infrastructure to provide faster responses by caching DNS information and efficiently balancing user traffic.\u003c/p\u003e\n"],["\u003cp\u003eIt implements security measures to protect against DNS spoofing and denial-of-service attacks, prioritizing user safety.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Public DNS strives to return valid results while adhering to DNS standards; however, it may not resolve certain domains for security reasons.\u003c/p\u003e\n"],["\u003cp\u003eThis service is not a DNS hosting service, a top-level domain service, or a malware-blocking service.\u003c/p\u003e\n"]]],["Google Public DNS aims to enhance web browsing by improving DNS performance and security. It leverages Google's infrastructure to provide faster, more valid DNS results, reducing the load on ISPs' servers. Key actions include using large-scale caches, load balancing, and implementing security measures like DNSSEC, entropy additions, and rate-limiting to prevent spoofing and denial-of-service attacks. It does not provide top level domain (TLD) name service, host DNS applications, or blocks malwares. It ensures it returns the right answer to queries.\n"],null,["# Introduction to Google Public DNS\n\nWhy Google Public DNS?\n----------------------\n\nAs web pages become more complex and include more resources from multiple origin\ndomains, clients need to perform multiple DNS lookups to render a single page.\nThe average Internet user performs hundreds of DNS lookups each day,\nslowing down their browsing experience.\nAs the web continues to grow, greater load is placed on existing DNS\ninfrastructure.\n\nSince Google's search engine already crawls the web on a daily basis and in the\nprocess resolves and caches DNS information, we wanted to leverage our\ntechnology to experiment with new ways of addressing some of the existing DNS\nchallenges around performance and security.\nWe are offering the service to the public in the hope of achieving the following\naims:\n\n- Provide end users with an alternative to their current DNS service. Google Public DNS takes some new approaches that we believe offer more valid results, increased security, and, in most cases, better performance.\n- Help reduce the load on ISPs' DNS servers. By taking advantage of our global datacenter and caching infrastructure, we can directly serve large numbers of user requests without having to query other DNS resolvers.\n- Help make the web faster and more secure. We are launching this service to test some new ways to approach DNS-related challenges. We hope to share what we learn with developers of DNS resolvers and the broader web community and get their feedback.\n\nGoogle Public DNS: what it is and isn't\n---------------------------------------\n\nGoogle Public DNS is a recursive DNS resolver, similar to other publicly\navailable services.\nWe think it provides many benefits, including improved security,\nfast performance, and more valid results.\nSee below for an overview of the technical\nenhancements we've implemented.\n\nGoogle Public DNS is not, however, any of the following:\n\n- A top-level domain (TLD) name service.\n- A DNS hosting or failover service. Google Public DNS is not a third-party DNS application service provider that hosts authoritative records for other domains. If you are looking for a high-volume, programmable, authoritative name server using Google's infrastructure, try [Google's Cloud DNS](//cloud.google.com/dns/).\n- An authoritative name service. Google Public DNS servers are not authoritative for any domain. Google maintains another set of name servers that are authoritative for domains it has registered, hosted at ns\\[1-4\\].google.com.\n- A malware-blocking service. Google Public DNS rarely performs blocking or filtering, though it may if we believe this is necessary to protect our users from security threats, or as required by law. In such extraordinary cases, it fails to answer; it does not create modified results.\n\nOverview of benefits and enhancements\n-------------------------------------\n\nGoogle Public DNS implements a number of security, performance, and compliance\nimprovements.\nWe provide a brief overview of those enhancements below.\nIf you're a developer or deployer of DNS software, we hope you'll also read the\ntechnical information pages on this site for more information on these features.\nUltimately, our hope is to share our insights and inspire the community to adopt\nsome of these features in all DNS resolvers.\nThe changes are grouped into 3 categories:\n\n### Performance\n\nMany DNS service providers are not sufficiently provisioned to be able to\nsupport high-volume input/output and caching, and adequately balance load among\ntheir servers.\nGoogle Public DNS uses large, Google-scale caches, and load-balances user\ntraffic to ensure shared caching, letting us answer a large fraction of queries\nfrom cache.\n\nFor more information, see the page on [performance benefits](/speed/public-dns/docs/performance).\n\n### Security\n\nDNS is vulnerable to various kinds of spoofing attacks that can \"poison\"\na name server's cache and route its users to malicious sites.\nThe prevalence of DNS exploits means that providers have to frequently apply\nserver updates and patches.\nIn addition, open DNS resolvers are vulnerable to being used to launch\ndenial-of-service (DoS) attacks on other systems.\nTo defend against such attacks, Google has implemented several recommended\nsolutions to help guarantee the authenticity of the responses it receives from\nother name servers, and to ensure our servers are not used for launching DoS\nattacks.\nBesides full support of the DNSSEC protocol, these include adding entropy to\nrequests, rate-limiting client traffic, and more.\n\nIn addition, Google Public DNS may not resolve certain domains if we believe\nthis is necessary to protect Google's users from security threats.\n\nFor more information, see the page on [security benefits](/speed/public-dns/docs/security).\n\n### Correctness\n\nGoogle Public DNS does its best to return the right answer to every query every\ntime, in accordance with the DNS standards.\nSometimes, in the case of a query for a mistyped or non-existent domain name,\nthe right answer means no answer, or an error message stating the domain name\ncould not be resolved.\nIt also may not resolve certain domains if we believe this is necessary to\nprotect our users from security threats.\nGoogle Public DNS never redirects users, unlike some open resolvers and ISPs."]]