mirror of
https://github.com/monlor/MIXBOX-ARCHIVE.git
synced 2026-03-15 09:51:32 +00:00
moxbox init
This commit is contained in:
54
apps/smartdns/config/smartdns.conf
Normal file
54
apps/smartdns/config/smartdns.conf
Normal file
@@ -0,0 +1,54 @@
|
||||
# dns server name, defaut is host name
|
||||
# server-name,
|
||||
# example:
|
||||
server-name smartdns
|
||||
#
|
||||
|
||||
# dns server bind ip and port, default dns server port is 53.
|
||||
# bind [IP]:port,
|
||||
# example:
|
||||
# IPV4: :53
|
||||
# IPV6 [::]:53
|
||||
|
||||
bind [::]:535
|
||||
|
||||
# dns cache size
|
||||
# cache-size [number]
|
||||
# 0: for no cache
|
||||
cache-size 512
|
||||
|
||||
# prefetch domain
|
||||
# prefetch-domain [true|false]
|
||||
# prefetch-domain true
|
||||
|
||||
# ttl for all resource record
|
||||
# rr-ttl: ttl for all record
|
||||
# rr-ttl-min: minimum ttl for resource record
|
||||
# rr-ttl-max: maximum ttl for resource record
|
||||
# example:
|
||||
# rr-ttl 300
|
||||
# rr-ttl-min 60
|
||||
# rr-ttl-max 86400
|
||||
|
||||
# set log level
|
||||
# log-level [level], level=error, warn, info, debug
|
||||
# log-size k,m,g
|
||||
log-level error
|
||||
# log-file /var/log/smartdns.log
|
||||
# log-size 128k
|
||||
# log-num 2
|
||||
|
||||
# remote udp dns server list
|
||||
# server [IP]:[PORT], default port is 53
|
||||
# server 8.8.8.8
|
||||
|
||||
# remote tcp dns server list
|
||||
# server-tcp [IP]:[PORT], default port is 53
|
||||
# server-tcp 8.8.8.8
|
||||
|
||||
# specific address to domain
|
||||
# address /domain/ip
|
||||
# address /www.example.com/1.2.3.4
|
||||
|
||||
# List of hosts that supply bogus NX domain results
|
||||
# bogus-nxdomain [ip]
|
||||
Reference in New Issue
Block a user