Added use_dns option in jail.conf

pull/27/head
Lee Clemens 2012-01-08 15:13:27 -05:00
parent 9559fcd3a0
commit ace43eb941
1 changed files with 10 additions and 0 deletions

View File

@ -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