znuny / Znuny

Znuny/Znuny LTS is a fork of the ((OTRS)) Community Edition, one of the most flexible web-based ticketing systems used for Customer Service, Help Desk, IT Service Management.
https://www.znuny.org
GNU General Public License v3.0
343 stars 83 forks source link

Configurable resolver timeout #390

Closed pboguslawski closed 9 months ago

pboguslawski commented 1 year ago

Proposed change

Znuny uses hardcoded 3s timeout for DNS queries while checking MX (if CheckMXRecord is enabled). 3s may be too short in some scenarios (sporadic errors in MX validation of remote addresses). DNS timeout should be configurable to allow admin to fine-tune this setting.

This mod introduces new SysConfig parameter ResolverTimeout that allows one to set custom timeout for DNS queries fired by Znuny (now only for CheckMXRecord algo).

Type of change

Additional information

Related: https://github.com/OTRS/otrs/pull/1524 Author-Change-Id: IB#1058919

Checklist