diff --git a/config/jail.conf b/config/jail.conf index cdef1cb3..3b779c9c 100644 --- a/config/jail.conf +++ b/config/jail.conf @@ -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