FreeBSD 12.0
My unnbound's config
unbound works correctly
but unbound.log is always free
My unnbound's config
Code:
server:
chroot: ""
verbosity: 1
port: 53
interface: xxxxx
logfile: /var/log/unbound.log
log-queries: yes
outgoing-interface: xxxxxxx
access-control: xxxx/16 allow
access-control: xxxxxxx allow
do-ip4: yes
do-ip6: no
do-udp: yes
do-tcp: yes
username: unbound
#logfile: "unbound.log"
use-syslog: no
pidfile: "/var/run/local_unbound.pid"
hide-version: yes
interface: 0.0.0.0
interface: ::0
access-control: 2001:DB8::/64 allow
remote-control:
control-enable: yes
control-interface: 127.0.0.1
control-port: 953
server-key-file: "unbound_server.key"
server-cert-file: "unbound_server.pem"
control-key-file: "unbound_control.key"
control-cert-file: "unbound_control.pem"
Code:
drill freebsd.org
;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 25362
;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;; freebsd.org. IN A
;; ANSWER SECTION:
freebsd.org. 3600 IN A 96.47.72.84
;; AUTHORITY SECTION:
;; ADDITIONAL SECTION:
;; Query time: 147 msec
;; SERVER: 10.44.1.1
;; WHEN: Wed Oct 9 14:18:02 2019
;; MSG SIZE rcvd: 45