nsupdate.info
nsupdate.info copied to clipboard
db perf issue with auth errors
some bad dyndns clients just retry again and again in case of e.g. authentication errors.
as we count auth errors in the Host record, this writes to the DB all the time ...
workaround: kill the Host record for such abusers, so there is no record to count something in.
fix: don't count.
there is also an issue with the recorded api_auth_result_msg - due to the timestamp in there, this is always a new message that also needs a db write.
also added BAD_HOSTS set in configuration, to block abusive hosts early, before they access the database.