darold / squidanalyzer

Squid Analyzer parses Squid proxy access log and reports general statistics about hits, bytes, users, networks, top URLs, and top second level domains. Statistic reports are oriented toward user and bandwidth control.
http://squidanalyzer.darold.net/
125 stars 36 forks source link

DNS server parameter #185

Closed roshanroche closed 5 years ago

roshanroche commented 6 years ago

Hello, I have an issue with nslookup for ips. Lines in the logs gets converted to hostname some ips don't . Manually when I do nslookup these ips properly get resolved. I feel there should be a parameter within conf file to define default DNS server instead of system defined DNS server. Would be helpful

darold commented 5 years ago

Hi,

Sorry for the response delay. In configuration file you have a directive called DNSLookupTimeout that allow you to adjust the timeout for querying the DNS server. Default is to abort nslookup after 100 ms maybe you should increase this value.

Best regards