The given configuration sets up a DNS server with the following settings:

  • Binds to port 53.
  • Sets the cache size to 4096.
  • Configures multiple DNS servers to use for resolving queries.
    • Uses server 1.1.1.1 with subnet 107.173.192.215.
    • Uses server 8.8.8.8 with subnet 107.173.192.215.
    • Uses server 202.130.97.65 with subnet 107.173.192.215.
    • Uses server 208.67.220.220 with subnet 107.173.192.215.
    • Uses server 185.222.222.222 with subnet 107.173.192.215.
  • Configures additional DNS servers to use TCP for resolving queries.
    • Uses server 1.1.1.1 with subnet 107.173.192.215.
    • Uses server 8.8.8.8 with subnet 107.173.192.215.
    • Uses server 202.130.97.65 with subnet 107.173.192.215.
    • Uses server 208.67.220.220 with subnet 107.173.192.215.
    • Uses server 185.222.222.222 with subnet 107.173.192.215.
  • Configures DNS over HTTPS (DoH) servers to use for resolving queries.
    • Uses the DoH server at https://doh.dns.sb/dns-query with subnet 107.173.192.215.
    • Uses the DoH server at https://dns.google/dns-query with subnet 107.173.192.215.
  • Sets the speed check mode to ping, tc:80, tcp:443 with a first-ping response mode and a cache checkpoint time of 150.
  • Sets the maximum number of reply IP addresses to 1.
  • Enables domain prefetching.
  • Serves expired records.
  • Forces AAAA and SOA records to be served even if expired.
  • Sets the time for serving expired records with prefetching to 28800 seconds
bind 53cache-size 4096server 1111 - subnet 107173192215server 8888 -subnet 107173192215server 2021309765 -subnet 107173192215server 20867220220 -subnet 107173192215server 185222222222 - subnet 1071731

原文地址: https://www.cveoy.top/t/topic/ikyi 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录