Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

Configurable resolver timeout #1524

Closed
wants to merge 1 commit into from
Closed

Configurable resolver timeout #1524

wants to merge 1 commit into from

Conversation

pboguslawski
Copy link

OTRS 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 OTRS
(now only for CheckMXRecord algo).

Related: https://dev.ib.pl/ib/otrs/issues/99
Author-Change-Id: IB#1058919

OTRS 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 OTRS
(now only for CheckMXRecord algo).

Related: https://dev.ib.pl/ib/otrs/issues/99
Author-Change-Id: IB#1058919
@mgruner mgruner self-assigned this Nov 18, 2016
@mgruner
Copy link
Contributor

mgruner commented Nov 18, 2016

Hello Pawel, this has been in OTRS for a very long time, and so far I was not aware of problems with that. I think that such an issue is rather a problem with the IT infrastructure and should be solved at this level.
We have to have a balance between flexibility in configuration and simplicity. In this particular case I'd like to avoid introducing yet another config setting.
Thanks a lot for your suggestion!
Best regards, Martin

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

2 participants