[Pdns-users] protect using fail2ban
Steffan Noord
steffannoord at gmail.com
Thu Jan 30 10:07:54 UTC 2014
Hello list,
Im new to fail2ban and want to secure pdns-server3.1
I found a treat with
in /etc/fail2ban/filter.d/pdns.conf:
======
[Definition]
failregex = pdns(?:\[\d{1,5}\])?: Not authoritative for '.*',.*sending
servfail to <HOST> \(recursion was desired\)
ignoreregex =
======
jail.conf:
========
[pdns-qdomain]
enabled = true
#port = domain,8053
protocol = udp
filter = pdns
logpath = /var/log/daemon.log
bantime = 259200
maxretry = 2
========
But when starting fail2ban im getting a error:
ConfigParser.ParsingError: File contains parsing errors: /etc/fail2ban/filter.d/pdns.conf
[line 3]: 'servfail to <HOST> \\(recursion was desired\\) \n'
Can someone help me setup fail2ban ?
Thanxs
Steffan
More information about the Pdns-users
mailing list