ISP 可以配置 DHCP 之类的网络配置基础架构,以返回 Google 公共 DNS 地址(8.8.8.8、8.8.4.4 和 IPv6),以便其网络上的客户端直接使用 Google 公共 DNS。这是最简单、最可靠的方法。
通过让网络客户端直接将 DNS 查询发送到 Google 公共 DNS,每个客户端都会受到单独速率限制,非滥用客户端不太可能受到节流的影响。
通过本地解析器使用 Google 公共 DNS
ISP 也可能使用本地解析器进行客户端查询,并让本地解析器将查询转发到 Google 公共 DNS。这可能会因监管原因或互联网服务提供商 (ISP) 要求而必须这么做。
家用路由器或其他网络设备
大多数本地解析器在 ISP 管理的路由器、防火墙或 DSL/有线调制解调器上运行。如果这些客户端针对单个客户,并且有自己的 IP 地址,那么它们的工作方式与直接使用 Google 公共 DNS 的客户端一样。
共享缓存解析器
为了减少 DNS 查询的延迟时间,尤其是对于远离 Google 解析器位置的 ISP,ISP 可以使用为许多客户端提供服务的缓存 DNS 解析器。这可以减少发送到 Google 公共 DNS 的 DNS 查询数量,但如果将查询集中到少量 IP 地址,则更有可能受到限制。
使用共享解析器将查询转发到 Google 公共 DNS 的 ISP 应监控 DNS 查询速率,并在速率超过限制或超过 1% 的查询未得到响应时请求提高速率限制。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eGoogle Public DNS is a free service offered to everyone but utilizes rate limits to maintain service quality, which may result in throttling for high query volumes from a single IP address.\u003c/p\u003e\n"],["\u003cp\u003eBefore utilizing Google Public DNS, it is advised to determine your peak DNS queries per second and the number of routable IP addresses to ensure compliance with the default rate limits or to request a rate limit increase if needed.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Public DNS can be implemented directly by configuring clients to use it or via local resolvers, with direct use offering individual rate limiting and greater resilience to throttling.\u003c/p\u003e\n"],["\u003cp\u003eISPs using shared resolvers or CG-NAT may require rate limit increases and should monitor their query rates, potentially requesting an increase if they exceed the limit or encounter significant unresponsive queries.\u003c/p\u003e\n"],["\u003cp\u003eFor enhanced reliability and to mitigate against single points of failure, Google Public DNS can be used in conjunction with other resolvers, or as an emergency fallback, although the latter requires careful configuration to avoid throttling during surges.\u003c/p\u003e\n"]]],["Google Public DNS, a free service with rate limits, may throttle high query volumes from single IPs (or IPv6 /64). Users should measure their peak DNS query rate and compare it to the 1500 QPS default limit. If exceeding, they can use direct queries or request a limit increase. ISPs can configure direct DNS queries or use local/shared resolvers. For increased reliability, they should use alternative resolvers, configure Google Public DNS as a fallback, and establish network peering with Google.\n"],null,[]]