AdGuardHome.yaml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. bind_host: 0.0.0.0
  2. bind_port: 3000
  3. beta_bind_port: 0
  4. users:
  5. - name: root
  6. password: $2y$10$dwn0hTYoECQMZETBErGlzOId2VANOVsPHsuH13TM/8KnysM5Dh/ve
  7. auth_attempts: 5
  8. block_auth_min: 15
  9. http_proxy: ""
  10. language: zh-cn
  11. rlimit_nofile: 0
  12. debug_pprof: false
  13. web_session_ttl: 720
  14. dns:
  15. bind_hosts:
  16. - 0.0.0.0
  17. port: 5553
  18. statistics_interval: 90
  19. querylog_enabled: true
  20. querylog_file_enabled: true
  21. querylog_interval: 7
  22. querylog_size_memory: 1000
  23. anonymize_client_ip: false
  24. protection_enabled: true
  25. blocking_mode: nxdomain
  26. blocking_ipv4: ""
  27. blocking_ipv6: ""
  28. blocked_response_ttl: 60
  29. parental_block_host: family-block.dns.adguard.com
  30. safebrowsing_block_host: standard-block.dns.adguard.com
  31. ratelimit: 0
  32. ratelimit_whitelist: []
  33. refuse_any: false
  34. upstream_dns:
  35. - 127.0.0.1:5337
  36. upstream_dns_file: ""
  37. bootstrap_dns:
  38. - 119.29.29.29
  39. - 223.5.5.5
  40. all_servers: false
  41. fastest_addr: false
  42. allowed_clients: []
  43. disallowed_clients: []
  44. blocked_hosts:
  45. - version.bind
  46. - id.server
  47. - hostname.bind
  48. cache_size: 4194304
  49. cache_ttl_min: 0
  50. cache_ttl_max: 0
  51. bogus_nxdomain: []
  52. aaaa_disabled: false
  53. enable_dnssec: false
  54. edns_client_subnet: false
  55. max_goroutines: 300
  56. ipset: []
  57. filtering_enabled: true
  58. filters_update_interval: 24
  59. parental_enabled: false
  60. safesearch_enabled: false
  61. safebrowsing_enabled: false
  62. safebrowsing_cache_size: 1048576
  63. safesearch_cache_size: 1048576
  64. parental_cache_size: 1048576
  65. cache_time: 30
  66. rewrites: []
  67. blocked_services: []
  68. local_domain_name: lan
  69. resolve_clients: true
  70. local_ptr_upstreams: []
  71. tls:
  72. enabled: false
  73. server_name: ""
  74. force_https: false
  75. port_https: 443
  76. port_dns_over_tls: 853
  77. port_dns_over_quic: 784
  78. port_dnscrypt: 0
  79. dnscrypt_config_file: ""
  80. allow_unencrypted_doh: false
  81. strict_sni_check: false
  82. certificate_chain: ""
  83. private_key: ""
  84. certificate_path: ""
  85. private_key_path: ""
  86. filters:
  87. - enabled: true
  88. url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
  89. name: AdGuard DNS filter
  90. id: 1628750870
  91. - enabled: true
  92. url: https://anti-ad.net/easylist.txt
  93. name: 'CHN: anti-AD'
  94. id: 1628750871
  95. whitelist_filters: []
  96. user_rules:
  97. - ""
  98. dhcp:
  99. enabled: false
  100. interface_name: ""
  101. dhcpv4:
  102. gateway_ip: ""
  103. subnet_mask: ""
  104. range_start: ""
  105. range_end: ""
  106. lease_duration: 86400
  107. icmp_timeout_msec: 1000
  108. options: []
  109. dhcpv6:
  110. range_start: ""
  111. lease_duration: 86400
  112. ra_slaac_only: false
  113. ra_allow_slaac: false
  114. clients: []
  115. log_compress: false
  116. log_localtime: false
  117. log_max_backups: 0
  118. log_max_size: 100
  119. log_max_age: 3
  120. log_file: ""
  121. verbose: false
  122. schema_version: 10