不用上全家桶。你说的 SQL 是 Authoritative Server，是权威服务器，给站长用的，不是你的使用场景。你的自己家用的缓存场景应该是 Recursor 或 dnsdist。前者是能实现自己搭建一个 dns 缓存服务器，不依赖其他 dns 缓存服务器。后者是能实现在多个 dns 缓存 /权威服务器间负载均衡。https://doc.powerdns.com/https://dnsdist.org/
“ The Authoritative Server will answer questions about domains it knows about, but will not go out on the net to resolve queries about other domains. When the Authoritative Server answers a question, it comes out of the database, and can be trusted as being authoritative. There is no way to pollute the cache or to confuse the daemon.
The Recursor, conversely, by default has no knowledge of domains itself, but will always consult other authoritative servers to answer questions given to it.”