Hi, I checked the code, and the "usage-statistics.resolver.timeout" setting only appears to be used when importing a Statistical backup (the "solr-import-statistics" command <https://wiki.lyrasis.org/display/DSDOC8x/SOLR+Statistics+Maintenance#SOLRStatisticsMaintenance-ImportSOLRstatistics,forrestoringlostdataormovingtoanotherserver>) and when updating the spider IP files (the "stats-util" command <https://wiki.lyrasis.org/display/DSDOC8x/SOLR+Statistics+Maintenance#SOLRStatisticsMaintenance-FilteringandPruningSpiders>). It does not appear to be used during actual statistics gathering or bot detection or similar.
I don't know the answer to your other question about "DNS queries" as it's unclear to me what queries you might be talking about. I think we'd need more information on the behavior you are seeing (with some possible examples or similar), as I don't understand myself what DNS queries you are asking about. Tim On Tuesday, March 18, 2025 at 8:18:30 AM UTC-5 [email protected] wrote: > Hi everyone, > I’ve been exploring the configuration settings in DSpace 7 and came across > the *usage-statistics.resolver.timeout* setting in the* > usage-statistics.cfg* file. I’m trying to understand its purpose, > specifically in terms of DNS queries. > Maybe someone has encountered the same setting and has figured out one of > the following: > > What exactly is dns resolving regarding the usage statistics used for? > Does setting usage-statistics.resolver.timeout to 0 completely disable DNS > queries, or is there maybe another way to disable them altogether? > If I set it to 0 (or disable them), will it break any functionality > related to usage statistics (like maybe bot detection etc) > Has anyone experience with this configuration or encountered similar > issues? > > The reason I want to disable these DNS queries is that I’ve been noticing > DNS requests to blocked sites, which appear to be part of the DNS queries > DSpace is making. This is a concern because these queries are being logged > on our DNS RPZ server, but I think Dspace should not be able to try to > resolve these queries in the first place. This kind of query traffic waters > down the integrity of our DNS security logs, as it could obscure actual > security threats that are trying to resolve. > > Thanks in advance! > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/dspace-community/4ead9f0e-7755-4b79-a7f1-655b5a21dda2n%40googlegroups.com.
