[clamav-users] clamav-milter and ClamdSocket tcp with multi-host A record

Chris Conn cconn at abacom.com
Wed Nov 13 16:21:14 UTC 2019


Hello,

I am trying to use the ClamdSocket tcp: and am successfully connecting 
to port 3310 of a clamd daemon on remote hosts to scan using clamav-milter.

The hostname I configured points to a pool

ClamdSocket tcp:mypool.mydomain.com

this resolves to 4 IP addresses

I am surprised to see that each server where I configured clamav-milter 
to connect to this multi-A record host, it seems to choose one and never 
connect to a different server.  The TTL on the A record is 60 seconds, 
therefore I am guessing/hoping it is re-resolving it?  So basically, one 
server gets utilize alot more instead of spreading the load over 
multiple servers.

In any case, is there another way I should be configuring this, or is 
this normal/expected behaviour?

Thanks in advance,

Chris




More information about the clamav-users mailing list