I did a search but don't seem to be able to find out how to test unbound. I tried the following but "server" returns my upstream configured server (Cloudfare). I thought it should be 127.0.0.1. How do I properly test unbound is working as resolver? Thanks.
dig snbforums.com
; <<>> DiG 9.18.19 <<>> snbforums.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55283
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;snbforums.com. IN A
;; ANSWER SECTION:
snbforums.com. 60 IN A 45.77.76.174
;; Query time: 20 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Sat Jul 06 10:56:56 EDT 2024
;; MSG SIZE rcvd: 58
dig snbforums.com
; <<>> DiG 9.18.19 <<>> snbforums.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55283
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1232
;; QUESTION SECTION:
;snbforums.com. IN A
;; ANSWER SECTION:
snbforums.com. 60 IN A 45.77.76.174
;; Query time: 20 msec
;; SERVER: 1.1.1.1#53(1.1.1.1) (UDP)
;; WHEN: Sat Jul 06 10:56:56 EDT 2024
;; MSG SIZE rcvd: 58