Description of problem: Query cache should be a useful option to avoid overload in DNS servers. How reproducible: Without QUERY CACHE: # opendkim -V opendkim: OpenDKIM Filter v2.10.3 Compiled with OpenSSL 1.0.1e-fips 11 Feb 2013 SMFI_VERSION 0x1000001 libmilter version 1.0.1 Supported signing algorithms: rsa-sha1 rsa-sha256 Supported canonicalization algorithms: relaxed simple Active code options: USE_DB USE_LDAP USE_ODBX libopendkim 2.10.3: With QUERY CACHE: # opendkim -V opendkim: OpenDKIM Filter v2.10.3 Compiled with OpenSSL 1.0.1e-fips 11 Feb 2013 SMFI_VERSION 0x1000001 libmilter version 1.0.1 Supported signing algorithms: rsa-sha1 rsa-sha256 Supported canonicalization algorithms: relaxed simple Active code options: QUERY_CACHE USE_DB USE_LDAP USE_ODBX libopendkim 2.10.3: query_cache Additional info: I very appreciate if in a next release you could compile with query cache flag. In opendkim.spec: # Configure with options available to systemd %configure --with-odbx --with-db --with-libmemcached --with-openldap --enable-query_cache
More info about QUERY CACHE from opendkim.conf: ## QueryCache { yes | no } ## default "no" ## ## Instructs the DKIM library to maintain its own local cache of keys and ## policies retrieved from DNS, rather than relying on the nameserver for ## caching service. Useful if the nameserver being used by the filter is ## not local. The filter must be compiled with the QUERY_CACHE flag to enable ## this feature, since it adds a library dependency.
Test build 2.10.3-7 successful with QUERY_CACHE build-time option: $ sudo rpm -ivh libopendkim-2.10.3-7.fc24.i686.rpm opendkim-2.10.3-7.fc24.i686.rpm Preparing... ################################# [100%] Updating / installing... 1:libopendkim-2.10.3-7.fc24 ################################# [ 50%] 2:opendkim-2.10.3-7.fc24 ################################# [100%] $ opendkim -V opendkim: OpenDKIM Filter v2.10.3 Compiled with OpenSSL 1.0.2h-fips 3 May 2016 SMFI_VERSION 0x1000001 libmilter version 1.0.1 Supported signing algorithms: rsa-sha1 rsa-sha256 Supported canonicalization algorithms: relaxed simple Active code options: QUERY_CACHE USE_DB USE_LDAP USE_ODBX libopendkim 2.10.3: query_cache ---------- Watch this space to track as builds hit the testing repos. Please give it a test and provide karma as appropriate, Marco! Great suggestion. Thanks. :)
opendkim-2.10.3-7.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-e17f1d0189
opendkim-2.10.3-7.el6 has been submitted as an update to Fedora EPEL 6. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-e2ddc5509f
opendkim-2.10.3-7.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-4cf7bd0764
opendkim-2.10.3-7.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-2380ca74cf
opendkim-2.10.3-7.el5 has been submitted as an update to Fedora EPEL 5. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-57eb036226
opendkim-2.10.3-7.el6 has been pushed to the Fedora EPEL 6 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-e2ddc5509f
opendkim-2.10.3-7.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-4cf7bd0764
opendkim-2.10.3-7.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-e17f1d0189
opendkim-2.10.3-7.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-2380ca74cf
opendkim-2.10.3-7.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-57eb036226
opendkim-2.10.3-7.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
opendkim-2.10.3-7.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
opendkim-2.10.3-7.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
opendkim-2.10.3-7.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.
opendkim-2.10.3-7.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.