dnsApp.config 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {
  2. "enableForwarding": true,
  3. "proxyServers": [
  4. {
  5. "name": "local-proxy",
  6. "type": "socks5",
  7. "proxyAddress": "localhost",
  8. "proxyPort": 1080,
  9. "proxyUsername": null,
  10. "proxyPassword": null
  11. }
  12. ],
  13. "forwarders": [
  14. {
  15. "name": "quad9-doh",
  16. "proxy": null,
  17. "dnssecValidation": true,
  18. "forwarderProtocol": "Https",
  19. "forwarderAddresses": [
  20. "https://dns.quad9.net/dns-query (9.9.9.9)"
  21. ]
  22. },
  23. {
  24. "name": "cloudflare-google",
  25. "proxy": null,
  26. "dnssecValidation": true,
  27. "forwarderProtocol": "Tls",
  28. "forwarderAddresses": [
  29. "1.1.1.1",
  30. "8.8.8.8"
  31. ]
  32. },
  33. {
  34. "name": "quad9-tls-proxied",
  35. "proxy": "local-proxy",
  36. "dnssecValidation": true,
  37. "forwarderProtocol": "Tls",
  38. "forwarderAddresses": [
  39. "9.9.9.9"
  40. ]
  41. }
  42. ],
  43. "networkGroupMap": {
  44. "0.0.0.0/0": "everyone",
  45. "[::]/0": "everyone"
  46. },
  47. "groups": [
  48. {
  49. "name": "everyone",
  50. "enableForwarding": true,
  51. "forwardings": [
  52. {
  53. "forwarders": [
  54. "quad9-doh"
  55. ],
  56. "domains": [
  57. "example.com"
  58. ]
  59. },
  60. {
  61. "forwarders": [
  62. "cloudflare-google"
  63. ],
  64. "domains": [
  65. "*"
  66. ]
  67. }
  68. ],
  69. "adguardUpstreams": [
  70. {
  71. "proxy": null,
  72. "dnssecValidation": true,
  73. "configFile": "adguard-upstreams.txt"
  74. }
  75. ]
  76. }
  77. ]
  78. }