dnsApp.config 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "enableBlocking": true,
  3. "blockListUrlUpdateIntervalHours": 24,
  4. "localEndPointGroupMap": {
  5. "127.0.0.1": "bypass",
  6. "192.168.10.2:53": "bypass",
  7. "user1.dot.example.com": "kids",
  8. "user2.doh.example.com:443": "bypass"
  9. },
  10. "networkGroupMap": {
  11. "192.168.10.20": "kids",
  12. "0.0.0.0/0": "everyone",
  13. "[::]/0": "everyone"
  14. },
  15. "groups": [
  16. {
  17. "name": "everyone",
  18. "enableBlocking": true,
  19. "allowTxtBlockingReport": true,
  20. "blockAsNxDomain": true,
  21. "blockingAddresses": [
  22. "0.0.0.0",
  23. "::"
  24. ],
  25. "allowed": [],
  26. "blocked": [
  27. "example.com"
  28. ],
  29. "allowListUrls": [],
  30. "blockListUrls": [
  31. "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"
  32. ],
  33. "allowedRegex": [],
  34. "blockedRegex": [
  35. "^ads\\."
  36. ],
  37. "regexAllowListUrls": [],
  38. "regexBlockListUrls": [],
  39. "adblockListUrls": []
  40. },
  41. {
  42. "name": "kids",
  43. "enableBlocking": true,
  44. "allowTxtBlockingReport": true,
  45. "blockAsNxDomain": true,
  46. "blockingAddresses": [
  47. "0.0.0.0",
  48. "::"
  49. ],
  50. "allowed": [],
  51. "blocked": [],
  52. "allowListUrls": [],
  53. "blockListUrls": [
  54. {
  55. "url": "https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/social/hosts",
  56. "blockAsNxDomain": false,
  57. "blockingAddresses": [
  58. "192.168.10.2"
  59. ]
  60. }
  61. ],
  62. "allowedRegex": [],
  63. "blockedRegex": [],
  64. "regexAllowListUrls": [],
  65. "regexBlockListUrls": [],
  66. "adblockListUrls": []
  67. },
  68. {
  69. "name": "bypass",
  70. "enableBlocking": true,
  71. "allowTxtBlockingReport": true,
  72. "blockAsNxDomain": true,
  73. "blockingAddresses": [
  74. "0.0.0.0",
  75. "::"
  76. ],
  77. "allowed": [],
  78. "blocked": [],
  79. "allowListUrls": [],
  80. "blockListUrls": [],
  81. "allowedRegex": [],
  82. "blockedRegex": [],
  83. "regexAllowListUrls": [],
  84. "regexBlockListUrls": [],
  85. "adblockListUrls": []
  86. }
  87. ]
  88. }