On Wed, Sep 2, 2009 at 1:18 PM, Tomasz Kojm<tk...@clamav.net> wrote:
> On Wed Sep 02 2009 00:55:09 GMT+0200 (CEST)
> W S <whatis...@yahoo.com> wrote:
>> Folks,
>>
>> Is there anyway to Hard-Code IP address for updating ClamAV db?
>> I see this keep changing:
>>
>> % host database.clamav.net

>
> That's on purpose. First of all, if some mirror fails, freshclam will
> temporarily blacklist it and try the other ones. Secondly, the round
> robin record helps to distribute the load from the clients among
> available mirrors. You should never be sticking to a single IP.

Unless you maintain your own clamav mirror, which is closer to you
then any other mirrors, and you trust to have close to 100% uptime :D

Here's a snippet from freshclam.conf on my clamav installation (from
RPM package)

#=============
# database.clamav.net is a round-robin record which points to our most
# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is
# not working. DO NOT TOUCH the following line unless you know what you
# are doing.
DatabaseMirror db.id.clamav.net
DatabaseMirror db.local.clamav.net
#=============

So you can use DatabaseMirror directive.

-- 
Fajar
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to