Hi,
I’ve written a systemd service that does a wget
, and a timer to trigger it once a week.
The service always fails with
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... failed: Name or service not known.
whereas the same wget
invocation on the shell succeeds.
journalctl
logs dnsmasq-blocklist-fetcher.service: Main process exited, code=exited, status=4/NOPERMISSION
.
Trying the same with curl, what’s logged is dnsmasq-blocklist-fetcher.service: Main process exited, code=exited, status=6/NOTCONFIGURED
.
Is this an issue of the systemd service running in an environment with no access to DNS?