Receive DNS packet with IP-TTL.

This commit is contained in:
Nick Peng
2018-12-22 23:52:53 +08:00
parent 1edb286a82
commit 11552f906f
9 changed files with 158 additions and 38 deletions

View File

@@ -76,12 +76,15 @@ log-level info
# audit-num 2
# remote udp dns server list
# server [IP]:[PORT] [-blacklist-ip] [-check-edns]
# server [IP]:[PORT] [-blacklist-ip] [-check-edns] [-check-ttl=[ttl]]
# default port is 53
# -blacklist-ip: filter result with blacklist ip
# -check-edns: result must exist edns RR, or discard result.
# -check-ttl: Check whether TTL is the corresponding value, or discard result, -check-ttl=0 for auto check TTL.
# server 8.8.8.8 -blacklist-ip -check-edns
# remote tcp dns server list
# server-tcp [IP]:[PORT] [-blacklist-ip] [-check-edns]
# server-tcp [IP]:[PORT] [-blacklist-ip] [-check-edns]
# default port is 53
# server-tcp 8.8.8.8