I have recently started using unbound dns. i have configured all the things i need properly. But the server doesnt log when i make a query. Also i have no errors in the unbound.conf file
The following is my .conf file
# The server clause sets the main parameters. server: # whitespace is not necessary, but looks cleaner. # verbosity number, 0 is least verbose. 1 is default. verbosity: 1 # print statistics to the log (for every thread) every N seconds. # Set to "" or 0 to disable. Default is disabled. statistics-interval: 5 interface: 192.168.116.134 # port to answer queries from port: 53 cache-min-ttl: 400 cache-max-ttl: 86400 # Enable IPv4, "yes" or "no". do-ip4: yes # Enable IPv6, "yes" or "no". # do-ip6: yes # Enable UDP, "yes" or "no". do-udp: yes # Enable TCP, "yes" or "no". do-tcp: yes access-control: 0.0.0.0/0 allow # chroot: "/etc/unbound" # username: "unbound" # directory: "/etc/unbound" # the log file, "" means log to stderr. # Use of this option sets use-syslog to "no". logfile: "/var/log/unbound/unbound.log" forward-zone: name: "." forward-addr: 126.96.36.199 forward-addr: 188.8.131.52
The LOG FILE DOES EXIST IN THE GIVEN DIRECTORY AND I HAVE TAKEN OWNERSHIP UNDER USER UNBOUND USING CHOWN . BUT WHEN I MAKE A QUERY, THE LOGFILE IS STILL EMPTY CAN ANYONE HELP ME? THANKS IN ADVANCE.
PLATFORM: UBUNTU 18 DESKTOP