mirror of https://github.com/fail2ban/fail2ban
Added use_dns option in jail.conf
parent
9559fcd3a0
commit
ace43eb941
|
@ -38,6 +38,16 @@ maxretry = 3
|
|||
# pyinotify, gamin, polling.
|
||||
backend = auto
|
||||
|
||||
# "use_dns" specifies if jails should trust hostnames in logs,
|
||||
# warn when reverse DNS lookups are performed, or ignore all hostnames in logs
|
||||
#
|
||||
# yes: if a hostname is encountered, a reverse DNS lookup will be performed.
|
||||
# warn: if a hostname is encountered, a reverse DNS lookup will be performed,
|
||||
# but it will be logged as a warning.
|
||||
# no: if a hostname is encountered, will not be used for banning,
|
||||
# but it will be logged as info.
|
||||
use_dns = warn
|
||||
|
||||
|
||||
# This jail corresponds to the standard configuration in Fail2ban 0.6.
|
||||
# The mail-whois action send a notification e-mail with a whois request
|
||||
|
|
Loading…
Reference in New Issue