Commit ea482918 authored by semihalev's avatar semihalev
Browse files

Merge branch 'master' of https://github.com/semihalev/sdns

parents 5a8f507e 2570ce20
# Config version, config and build versions can be different.
version = "1.0.0"
version = "1.1.0"
# Address to bind to for the DNS server
bind = ":53"
......@@ -81,6 +81,15 @@ loglevel = "info"
# accesslog = ""
# List of remote blocklists address list. All lists will be download to blocklist folder.
# blocklists = [
# "http://mirror1.malwaredomains.com/files/justdomains",
# "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts",
# "http://sysctl.org/cameleon/hosts",
# "https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist",
# "https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt",
# "https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt",
# "https://raw.githubusercontent.com/quidsup/notrack/master/trackers.txt"
# ]
blocklists = [
]
......@@ -122,12 +131,10 @@ ratelimit = 0
clientratelimit = 0
# Manual blocklist entries
blocklist = [
]
blocklist = []
# Manual whitelist entries
whitelist = [
]
whitelist = []
# DNS server identifier (RFC 5001), it's useful while operating multiple sdns. left blank for disabled
nsid = ""
......@@ -135,5 +142,23 @@ nsid = ""
# Enable to answer version.server, version.bind, hostname.bind, id.server chaos queries.
chaos = true
# Qname minimization level. If higher, it can be more complex and impact the response performance. If set 0, qname minimization will be disable
# Qname minimization level. If higher, it can be more complex and impact the response performance.
# If set 0, qname minimization will be disable
qname_min_level = 5
# Empty zones return answer for RFC 1918 zones. Please see http://as112.net/
# for details of the problems you are causing and the counter measures that have had to be deployed.
# If the list empty, SDNS will be use default zones described at RFC.
# emptyzones [
# "10.in-addr.arpa."
# ]
emptyzones = []
# You can add your own plugins to sdns. The plugin order is very important.
# Plugins can be load before cache middleware.
# Config keys should be string and values can be anything.
# There is an example plugin at https://github.com/semihalev/sdnsexampleplugin
# [plugins]
# [plugins.example]
# path = "exampleplugin.so"
# config = {key_1 = "value_1", key_2 = 2, key_3 = true}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment