{
  "dns": {
    "port": 53,
    "upstreamDNS": ["223.5.5.5:53", "223.6.6.6:53"],
    "timeout": 5000
  },
  "http": {
    "port": 8080,
    "host": "0.0.0.0",
    "enableAPI": true
  },
  "shield": {
    "localRulesFile": "rules.txt",
    "remoteRules": [
      "https://example.com/rules.txt"
    ],
    "updateInterval": 3600,
    "hostsFile": "hosts.txt"
  },
  "log": {
    "file": "dns-server.log",
    "level": "debug",
    "maxSize": 100,
    "maxBackups": 10,
    "maxAge": 30
  }
}
