unbound: log to journalctl
This commit is contained in:
parent
bfc7d542df
commit
22166bc69b
4 changed files with 6 additions and 5 deletions
|
@ -49,4 +49,4 @@ upstream_dns_servers:
|
|||
- "80.67.169.12" # French Data Network (FDN) (ns0.fdn.fr)
|
||||
- "1.1.1.1" # Cloudflare
|
||||
|
||||
|
||||
unbound_log_file: "/var/log/unbound.log"
|
||||
|
|
2
hosts
2
hosts
|
@ -150,7 +150,7 @@ gs_pve
|
|||
|
||||
[dhcp]
|
||||
#dhcp-fleming.adm.auro.re
|
||||
dhcp-fleming-backup.adm.auro.re
|
||||
#dhcp-fleming-backup.adm.auro.re
|
||||
#dhcp-pacaterie.adm.auro.re
|
||||
#dhcp-pacaterie-backup.adm.auro.re
|
||||
#dhcp-edc.adm.auro.re
|
||||
|
|
|
@ -18,7 +18,6 @@
|
|||
dest: /etc/unbound/unbound.conf.d/recursive.conf
|
||||
mode: 0644
|
||||
|
||||
|
||||
- name: restart unbound after editing config
|
||||
systemd:
|
||||
state: restarted
|
||||
|
|
|
@ -4,11 +4,13 @@ server:
|
|||
# Timestamps use UTC ASCII instead of UNIX epoch.
|
||||
log-time-ascii: yes
|
||||
|
||||
logfile: /var/log/unbound.log
|
||||
|
||||
# Only log errors.
|
||||
verbosity: 0
|
||||
|
||||
# "" sends logs to stderr, journalctl will pick things up.
|
||||
logfile: ""
|
||||
|
||||
|
||||
do-ip4: yes
|
||||
# FIXME: IPv6 deployment... someday...
|
||||
do-ip6: no
|
||||
|
|
Loading…
Reference in a new issue