disable logging in dns ad blocker

This commit is contained in:
2025-04-12 20:04:02 +02:00
parent 6b1454c464
commit 916a9dd940

View File

@@ -2,5 +2,5 @@
echo "Starting dnsmasq..."
# Running dnsmasq as root prevents needing to run the entire container with --cap-add=NET_ADMIN
#dnsmasq --user=root --keep-in-foreground --log-facility=/dev/stdout
dnsmasq --log-queries --user=root --keep-in-foreground --log-facility=/var/log/dnsmasq.log --addn-hosts=/etc/dnsmasq.hosts
dnsmasq --user=root --keep-in-foreground --log-facility=/dev/stdout
#dnsmasq --log-queries --user=root --keep-in-foreground --log-facility=/var/log/dnsmasq.log --addn-hosts=/etc/dnsmasq.hosts