root@OPNsense:~ # ps auxwww | grep unboundunbound 78629 0.0 1.2 99436 49424 - Is Mon20 0:17.84 /usr/local/sbin/unbound -c /var/unbound/unbound.confroot 60108 0.0 0.1 1060900 3196 3 R+ 21:08 0:00.00 grep unbound
root@OPNsense:~ # head -n 20 /var/unbound/unbound.conf########################### Unbound Configuration############################# Server configuration##server:chroot: /var/unboundusername: unbounddirectory: /var/unboundpidfile: /var/run/unbound.pidroot-hints: /var/unbound/root.hintsuse-syslog: yesport: 53[...]
root@OPNsense:~ # drill @127.0.0.1 google.com;; ->>HEADER<<- opcode: QUERY, rcode: NOERROR, id: 46171;; flags: qr rd ra ; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0;; QUESTION SECTION:;; google.com. IN A;; ANSWER SECTION:google.com. 300 IN A 172.217.17.110;; AUTHORITY SECTION:;; ADDITIONAL SECTION:;; Query time: 1294 msec;; SERVER: 127.0.0.1;; WHEN: Sun Jun 13 21:09:59 2021;; MSG SIZE rcvd: 44
root@OPNsense:~ # cat /etc/resolv.confdomain localdomainnameserver 127.0.0.1
<dnsserver/> <dns1gw>none</dns1gw> <dns2gw>none</dns2gw> <dns3gw>none</dns3gw> <dns4gw>none</dns4gw> <dns5gw>none</dns5gw> <dns6gw>none</dns6gw> <dns7gw>none</dns7gw> <dns8gw>none</dns8gw>