From 11634502273c687adc3b51d55f4bd914d3c05849 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 31 Jul 2012 16:08:00 -0400 Subject: [PATCH] added usedns option into debian/jail.conf --- debian/jail.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/debian/jail.conf b/debian/jail.conf index 59fae718..448e34fc 100644 --- a/debian/jail.conf +++ b/debian/jail.conf @@ -33,6 +33,16 @@ maxretry = 3 # pyinotify, gamin, polling. backend = auto +# "usedns" 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. +usedns = warn + # # Destination email address used solely for the interpolations in # jail.{conf,local} configuration files.