مقدمه ای بر DNS عمومی گوگل
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
چرا Google Public DNS؟
همانطور که صفحات وب پیچیده تر می شوند و شامل منابع بیشتری از دامنه های منشأ متعدد می شوند، مشتریان باید چندین جستجوی DNS را برای ارائه یک صفحه انجام دهند. کاربر اینترنت به طور متوسط هر روز صدها جستجوی DNS را انجام می دهد و تجربه مرور آنها را کند می کند. همانطور که وب به رشد خود ادامه می دهد، بار بیشتری بر زیرساخت DNS موجود وارد می شود.
از آنجایی که موتور جستجوی Google در حال حاضر به صورت روزانه در وب میخزد و در این فرآیند اطلاعات DNS را حل و فصل میکند و در حافظه پنهان ذخیره میکند، ما میخواستیم از فناوری خود برای آزمایش راههای جدیدی برای رسیدگی به برخی از چالشهای DNS موجود در مورد عملکرد و امنیت استفاده کنیم. به امید دستیابی به اهداف زیر این خدمات را به عموم مردم ارائه می کنیم:
- به کاربران نهایی جایگزینی برای سرویس DNS فعلی آنها ارائه دهید. Google Public DNS رویکردهای جدیدی را اتخاذ می کند که ما معتقدیم نتایج معتبرتر، افزایش امنیت و در بیشتر موارد عملکرد بهتر را ارائه می دهند.
- به کاهش بار روی سرورهای DNS ISPها کمک کنید. با استفاده از مرکز داده جهانی و زیرساخت حافظه پنهان، میتوانیم مستقیماً تعداد زیادی از درخواستهای کاربر را بدون نیاز به پرس و جو از دیگر حلکنندههای DNS ارائه دهیم.
- به سریعتر و ایمن تر شدن وب کمک کنید. ما در حال راهاندازی این سرویس هستیم تا راههای جدیدی را برای نزدیک شدن به چالشهای مرتبط با DNS آزمایش کنیم. امیدواریم آنچه را که می آموزیم با توسعه دهندگان حل کننده های DNS و جامعه وب گسترده تر به اشتراک بگذاریم و بازخورد آنها را دریافت کنیم.
Google Public DNS: آنچه هست و نیست
Google Public DNS یک حلکننده DNS بازگشتی است، مشابه سایر سرویسهای در دسترس عموم. ما فکر می کنیم که مزایای زیادی از جمله امنیت بهبود یافته، عملکرد سریع و نتایج معتبرتر را ارائه می دهد. برای مرور کلی پیشرفتهای فنی که پیادهسازی کردهایم، به زیر مراجعه کنید.
با این حال، DNS عمومی Google هیچ یک از موارد زیر نیست:
- یک سرویس نام دامنه سطح بالا (TLD).
- یک سرویس میزبانی DNS یا failover. Google Public DNS یک ارائه دهنده خدمات برنامه DNS شخص ثالث نیست که رکوردهای معتبری را برای دامنه های دیگر میزبانی کند. اگر به دنبال یک سرور نام با حجم بالا، قابل برنامه ریزی و معتبر با استفاده از زیرساخت Google هستید، Cloud DNS Google را امتحان کنید.
- یک سرویس نام معتبر سرورهای عمومی DNS Google برای هیچ دامنه ای معتبر نیستند. Google مجموعه دیگری از سرورهای نام را برای دامنههایی که ثبت کرده است، در ns[1-4].google.com میزبانی میکند.
- یک سرویس مسدود کننده بدافزار Google Public DNS به ندرت مسدود کردن یا فیلتر کردن را انجام می دهد، اگرچه اگر فکر کنیم برای محافظت از کاربرانمان در برابر تهدیدات امنیتی یا طبق قانون لازم است، ممکن است انجام شود. در چنین موارد خارق العاده ای پاسخ نمی دهد; نتایج اصلاح شده ایجاد نمی کند.
مروری بر مزایا و پیشرفت ها
Google Public DNS تعدادی از بهبودهای امنیتی، عملکرد و انطباق را پیاده سازی می کند. در زیر مروری مختصر از این پیشرفتها ارائه میکنیم. اگر توسعهدهنده یا توسعهدهنده نرمافزار DNS هستید، امیدواریم برای اطلاعات بیشتر در مورد این ویژگیها، صفحات اطلاعات فنی این سایت را نیز مطالعه کنید. در نهایت، امید ما این است که بینش خود را به اشتراک بگذاریم و جامعه را تشویق کنیم تا برخی از این ویژگیها را در همه حلکنندههای DNS به کار گیرد. تغییرات به 3 دسته تقسیم می شوند:
بسیاری از ارائه دهندگان خدمات DNS به اندازه کافی برای پشتیبانی از ورودی/خروجی و ذخیره سازی با حجم بالا و تعادل کافی بار در میان سرورهای خود تدارک دیده نشده اند. Google Public DNS از کش های بزرگ در مقیاس Google استفاده می کند و ترافیک کاربر را برای اطمینان از ذخیره مشترک ذخیره می کند و به ما امکان می دهد به بخش بزرگی از پرس و جوهای کش پاسخ دهیم.
برای اطلاعات بیشتر، به صفحه مزایای عملکرد مراجعه کنید.
امنیت
DNS در برابر انواع مختلفی از حملات جعل آسیب پذیر است که می تواند حافظه نهان سرور نام را مسموم کند و کاربران آن را به سایت های مخرب هدایت کند. رواج سوء استفادههای DNS به این معنی است که ارائهدهندگان مجبورند مرتباً بهروزرسانیها و وصلههای سرور را اعمال کنند. علاوه بر این، حلکنندههای DNS باز در برابر استفاده برای حملات انکار سرویس (DoS) به سیستمهای دیگر آسیبپذیر هستند. برای دفاع در برابر چنین حملاتی، Google چندین راه حل پیشنهادی را برای کمک به تضمین صحت پاسخهایی که از سایر سرورهای نام دریافت میکند، پیادهسازی کرده است و اطمینان حاصل میکند که سرورهای ما برای راهاندازی حملات DoS استفاده نمیشوند. علاوه بر پشتیبانی کامل از پروتکل DNSSEC، این موارد شامل افزودن آنتروپی به درخواستها، محدود کردن نرخ ترافیک مشتری و موارد دیگر است.
علاوه بر این، اگر فکر کنیم برای محافظت از کاربران Google در برابر تهدیدات امنیتی لازم است، ممکن است DNS عمومی Google دامنههای خاصی را حل نکند.
برای اطلاعات بیشتر، به صفحه مزایای امنیتی مراجعه کنید.
صحت
Google Public DNS تمام تلاش خود را می کند تا هر بار مطابق با استانداردهای DNS پاسخ مناسب را به هر سؤالی بازگرداند. گاهی اوقات، در مورد درخواست نام دامنه اشتباه تایپ شده یا ناموجود، پاسخ صحیح به معنای عدم پاسخ است یا پیام خطایی مبنی بر اینکه نام دامنه قابل حل نیست. همچنین اگر فکر کنیم برای محافظت از کاربران در برابر تهدیدات امنیتی لازم است، ممکن است دامنههای خاصی را حل نکند. Google Public DNS هرگز کاربران را تغییر مسیر نمی دهد، برخلاف برخی از بازگشایی کننده ها و ISP ها.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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."]]