AdGuardHome_template.yaml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. #提交就可以直接用的配置模板文件,使用重定向dnsmasq上游
  2. #a template config can be use with a apply,use redirect with dnsmasq upstream
  3. bind_host: 0.0.0.0
  4. bind_port: 3000
  5. users:
  6. - name: root
  7. password: $2y$10$FfeQavihMUiXCuJhHuQwy.6EOXDvkXb/S50qI5fXizqarNT/ShhQm
  8. language: ""
  9. rlimit_nofile: 0
  10. dns:
  11. bind_host: 127.0.0.1
  12. port: 5553
  13. statistics_interval: 1
  14. protection_enabled: true
  15. filtering_enabled: true
  16. filters_update_interval: 24
  17. blocking_mode: nxdomain
  18. blocked_response_ttl: 10
  19. querylog_enabled: false
  20. querylog_interval: 1
  21. ratelimit: 0
  22. ratelimit_whitelist: []
  23. refuse_any: false
  24. bootstrap_dns:
  25. #bootstrap_dns
  26. all_servers: false
  27. allowed_clients: []
  28. disallowed_clients: []
  29. blocked_hosts: []
  30. parental_block_host: ""
  31. safebrowsing_block_host: ""
  32. blocked_services: []
  33. cache_size: 4194304
  34. parental_sensitivity: 13
  35. parental_enabled: false
  36. safesearch_enabled: false
  37. safebrowsing_enabled: false
  38. safebrowsing_cache_size: 1048576
  39. safesearch_cache_size: 1048576
  40. parental_cache_size: 1048576
  41. cache_time: 30
  42. rewrites: []
  43. upstream_dns:
  44. #upstream_dns
  45. tls:
  46. enabled: false
  47. server_name: ""
  48. force_https: false
  49. port_https: 443
  50. port_dns_over_tls: 853
  51. certificate_chain: ""
  52. private_key: ""
  53. certificate_path: ""
  54. private_key_path: ""
  55. filters:
  56. - enabled: true
  57. url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
  58. name: AdGuard Simplified Domain Names filter
  59. id: 1
  60. - enabled: true
  61. url: https://adaway.org/hosts.txt
  62. name: AdAway
  63. id: 2
  64. - enabled: false
  65. url: https://hosts-file.net/ad_servers.txt
  66. name: hpHosts - Ad and Tracking servers only
  67. id: 3
  68. - enabled: true
  69. url: https://www.malwaredomainlist.com/hostslist/hosts.txt
  70. name: MalwareDomainList.com Hosts List
  71. id: 4
  72. - enabled: true
  73. url: https://raw.githubusercontent.com/vokins/yhosts/master/hosts.txt
  74. name: yhost
  75. id: 1575018006
  76. - enabled: false
  77. url: https://raw.githubusercontent.com/vokins/yhosts/master/data/tvbox.txt
  78. name: tvbox
  79. id: 1575018007
  80. user_rules: []
  81. dhcp:
  82. enabled: false
  83. interface_name: ""
  84. gateway_ip: ""
  85. subnet_mask: ""
  86. range_start: ""
  87. range_end: ""
  88. lease_duration: 86400
  89. icmp_timeout_msec: 1000
  90. clients: []
  91. log_file: ""
  92. verbose: false
  93. schema_version: 5