代码拉取完成,页面将自动刷新
#Toml config file
Title = "GODNS"
Version = "0.1.1"
Author = "kenshin"
Debug = true
#Debug =false
[server]
host = "127.0.0.1"
port = 53
[resolv]
resolv-file = "/usr/local/etc/resolv.conf"
timeout = 5 # 5 seconds
[redis]
host = "127.0.0.1"
port = 6379
db = 0
password =""
Enable = false
[log]
#If didn't set the log file,log will be redirected to console.
file = "log.txt"
#file = ""
[cache]
# backend option [memory|redis]
# redis backend not implemented yet
backend = "memory"
expire = 600 # 10 minutes
maxcount = 0 #If set zero. The Sum of cache itmes will be unlimit.
[hosts]
#If set false, will not query hosts file and redis hosts record
enable = true
host-file = "/usr/local/etc/hosts"
redis-key = "godns:hosts"
ttl = 600
[specservers]
# You can indent as you please. Tabs or spaces. TOML don't care.
[specservers.alpha]
dnsserver = "121.40.145.3"
domain = "google.com."
port = "53"
search = "suffix"
[specservers.beta]
dnsserver = "210.28.96.10"
domain = "eqdc10"
port = "53"
search = "regex"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。