Free Public DNS Servers

腾讯 DNS (DNSPod)

阿里 DNS (Alidns)

百度 DNS

字节跳动 TrafficRoute DNS

360 安全 DNS

Google Public DNS

Cloudflare DNS

Cloudflare Block malware

Cloudflare Block malware and adult content

Quad9 DNS

DNS.SB

Cisco OpenDNS/Cisco Umbrella

OpenDNS FamilyShield

Yandex DNS

COMODO SecureDNS

Neustar UltraDNS

AdGuard DNS

Level 3 Parent DNS

Freenom World DNS

北京邮电大学 IPv6 DNS 服务器

上海交通大学 DNS 服务器

Yeti DNS Project

北京科技大学 IPv6 DNS 服务器

中国科技网 IPv6 DNS 服务器

Find More Tools

How to choose DNS:

In China, generally using the several domestic DNS servers I provided is fine. If you are overseas, it is recommended to choose overseas public DNS servers. Additionally, after testing, 114DNS, Baidu DNS, and Tencent DNS can be used in most overseas regions, while AliDNS has poor connectivity in many overseas regions.

Comparison of Major Domestic DNS Servers:

  1. 114DNS (114.114.114.114)
    • Pros: Fast response speed, high stability
    • Cons: No ad filtering function
  2. Baidu DNS (180.76.76.76)
    • Pros: Intelligent resolution, fast access speed
    • Cons: Occasional resolution delays
  3. Tencent DNS (119.29.29.29)
    • Pros: Supports DNSSEC, high security
    • Cons: Slow response in some regions
  4. AliDNS (223.5.5.5)
    • Pros: Available in some overseas regions
    • Cons: Unstable connectivity in some domestic regions
  1. Google Public DNS (8.8.8.8)
    • Wide global coverage, fast resolution speed
  2. Cloudflare DNS (1.1.1.1)
    • Strong privacy protection, short response time
  3. OpenDNS (208.67.222.222)
    • Provides parental control features

What are DoT and DoH:

DoT and DoH are both methods of encrypting DNS. The difference lies in the protocols and ports they use. Both are types of domain name resolution security extension protocols.

Concepts:

DoT stands for DNS over TLS, which uses TLS to transmit the DNS protocol. DoH stands for DNS over HTTPS, which uses HTTPS to transmit the DNS protocol. The principles of both protocols are the same. They encrypt the DNS messages between the user and the DNS server to prevent eavesdropping by intermediate users and leakage of domain name query privacy. Relatively speaking, DoH is more versatile.

Usage Scenario Recommendations:

  1. Regular users: It is recommended to use 114DNS or Tencent DNS to balance speed and security
  2. Privacy-sensitive users: It is recommended to use Cloudflare DNS + DoH encryption
  3. Enterprise users: You can consider building your own DNS server or using OpenDNS enterprise edition
  4. Overseas users: Prioritize Google Public DNS or Cloudflare DNS

FAQ:

Q: Why does the internet speed sometimes slow down after changing DNS? A: It may be that the DNS server is far away or has a high load. It is recommended to test multiple DNS servers and choose the optimal solution.

Q: Does encrypted DNS affect internet speed? A: There will be a slight impact, but the difference is not obvious with modern device performance.

Q: How to test DNS resolution speed? A: You can use the dig command or online DNS speed test tools for comparison.

Additional Content:

1. DNS Caching Mechanism

Local DNS caching can speed up domain name resolution, but sometimes it can cause the resolution results not to be updated in time. Ways to clear the cache:

  • Windows: Run ipconfig /flushdns in the command prompt
  • macOS/Linux: Run sudo dscacheutil -flushcache or sudo systemd-resolve --flush-caches

2. DNS Pollution and Hijacking

DNS pollution refers to the malicious tampering of DNS resolution results. Solutions:

  • Use encrypted DNS (such as DoT/DoH)
  • Choose trusted DNS servers

3. Multiple DNS Server Configuration

Configuring multiple DNS servers (primary/backup mode) on routers or devices can improve reliability. For example:

4. DNS Security Best Practices

  • Regularly update DNS server addresses to ensure optimal performance
  • Enable encrypted DNS (DoT/DoH) whenever possible to protect privacy
  • Monitor DNS query logs for suspicious activities
  • Use DNS filtering services to block malicious domains
  • Implement DNS redundancy with multiple providers

5. DNS Performance Optimization Tips

  • Choose geographically closer DNS servers for faster response times
  • Test different DNS servers under various network conditions
  • Consider using DNS load balancing for high-traffic websites
  • Implement DNS caching at both client and server levels
  • Use CDN services that provide integrated DNS solutions

6. DNS Monitoring and Troubleshooting

Common DNS issues and how to resolve them:

  • Slow DNS resolution: Test with different DNS servers, check network connectivity
  • DNS lookup failures: Verify DNS server addresses, check firewall settings
  • Incorrect DNS results: Clear DNS cache, check for DNS hijacking
  • Intermittent DNS issues: Monitor server uptime, implement failover mechanisms

7. Enterprise DNS Considerations

For businesses and organizations:

  • Consider hosting your own authoritative DNS servers for better control
  • Implement DNS security extensions (DNSSEC) to prevent spoofing
  • Use split-horizon DNS for internal and external resolution
  • Monitor DNS query volumes and response times
  • Plan for DNS scalability as your infrastructure grows

© 2025 SoupCalc.COM