okay, i have now added dns server to my local lan-connection for IPv4 and IPv6

v4

v6

hope this woll work now


Von / From: Clamav User Mailinglist <mailto:clamav-users@lists.clamav.net>
An / To: Newcomer01 <mailto:newcome...@posteo.de>
CC / CC: Richard <mailto:inbound-lists-cla...@listmail.innovate.net>
Gesendet / Sent: Montag, Dezember 26, 2022 um 20:36 (at 08:36 PM) +0100
Betreff / Subject: Re: [clamav-users] prolem with freshclam when no sudo user 
is logged in the system
your local machine needs have functioning dns - i.e., be able to get
responses to name lookups. to do that it needs point to nameservers.
that's generally done/shown in your /etc/resolv.conf file. if your
local machine has static ipnumbers you will likely have set the
nameservers explicitly when you set that up. if it uses dhcp it
should get them from your dhcp server.

in my previous mention of resolve.conf and clamav/CDN, that should
have been /etc/hosts.

[it would have better if you hadn't top posted, but as you have i'm
going to continue that - hence the replies will be a bit jumbled.]

[i am on this mailing list. please do *not* also include my email
address in direct replies.]



Date: Monday, December 26, 2022 17:57:57 +0000
From: newcomer01 via clamav-users<clamav-users@lists.clamav.net>
To: Richard via clamav-users<clamav-users@lists.clamav.net>

my dns services are set inside the router directly (AVM FritzBox)
and link to cloudflares dns servers (IPv4 and IPv6) are set up here.
on my local machine i didn't use dns or something


Von / From: Clamav User Mailinglist
<mailto:clamav-users@lists.clamav.net>
An / To: Newcomer01<mailto:newcome...@posteo.de>
CC / CC: Richard<mailto:inbound-lists-cla...@listmail.innovate.net>
Gesendet / Sent: Montag, Dezember 26, 2022 um 18:22 (at 06:22 PM)
+0100
Betreff / Subject: Re: [clamav-users] prolem with freshclam when no
sudo user is logged in the system
Date: Monday, December 26, 2022 13:46:54 +0000
From: newcomer01 via clamav-users<clamav-users@lists.clamav.net>

Hi There,

now i have a small problem with freshlcam, when i run a freshclam
query on @reboot with user cronjob
(/var/spool/cron/cronjobs/USERNAME):

Mon Dec 26 13:18:24 2022 -> --------------------------------------
Mon Dec 26 13:18:24 2022 -> ClamAV update process started at Mon
Dec 26 13:18:24 2022
Mon Dec 26 13:18:24 2022 -> WARNING: Can't query
current.cvd.clamav.net
Mon Dec 26 13:18:24 2022 -> WARNING: Invalid DNS reply. Falling
back to HTTP mode.
Mon Dec 26 13:18:24 2022 -> Trying to retrieve CVD header from
https://database.clamav.net/daily.cvd
Mon Dec 26 13:18:24 2022 -> WARNING: remote_cvdhead: Download
failed (6) Mon Dec 26 13:18:24 2022 -> WARNING:  Message:
Couldn't resolve host name
It looks like you have a DNS issue when this is trying to run. You
should look to see how/that dns is working on this machine. The
cronjobs run after the system startup so, in general, it shouldn't
be a timing issue but could be depending on how you have things
set up.

The response that you get from a:
host -t txt current.cvd.clamav.net

command should look something like:

    current.cvd.clamav.net descriptive text
"0.103.7:62:26762:1672074000:1:90:49192:333"

The *.clamav.net services run off a CDN so the IPnumbers can change
at will, so don't try to overcome your dns issue by putting
something in our resolve.conf.



_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat
_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

Reply via email to