What's new

Unbound Test unbound

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

BeachGuy

Regular Contributor
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
 
This is my dig result

Code:
dig snbforums.com

; <<>> DiG 9.18.19 <<>> snbforums.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43924
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;snbforums.com.                 IN      A

;; ANSWER SECTION:
snbforums.com.          60      IN      A       45.77.76.174

;; Query time: 8 msec
;; SERVER: 9.9.9.9#53(9.9.9.9) (UDP)
;; WHEN: Sat Jul 06 16:17:55 IST 2024
;; MSG SIZE  rcvd: 58

If I want to test Unbound is working I normally go to https://www.dnscheck.tools/ and I would get my own IP address as DNS resolver. I do have 9.9.9.9 set for WAN DNS setting
 
This is my dig result

Code:
dig snbforums.com

; <<>> DiG 9.18.19 <<>> snbforums.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43924
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;snbforums.com.                 IN      A

;; ANSWER SECTION:
snbforums.com.          60      IN      A       45.77.76.174

;; Query time: 8 msec
;; SERVER: 9.9.9.9#53(9.9.9.9) (UDP)
;; WHEN: Sat Jul 06 16:17:55 IST 2024
;; MSG SIZE  rcvd: 58

If I want to test Unbound is working I normally go to https://www.dnscheck.tools/ and I would get my own IP address as DNS resolver. I do have 9.9.9.9 set for WAN DNS setting

Yes I get my own WAN IP from that site. I thought there was a way to check from within the router though.
Also, is there a way to ensure/force all clients/devices on router use unbound for dns lookup? Like what if they put 8.8.8.8 in the client DNS settings?
 
Yes I get my own WAN IP from that site. I thought there was a way to check from within the router though.
You can also use @eibgrad's DNSMON tool, and you should see DNS queries originating from your local/WAN IP and going out to other DNS servers.

 
This is my dig result

Code:
dig snbforums.com

; <<>> DiG 9.18.19 <<>> snbforums.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 43924
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;snbforums.com.                 IN      A

;; ANSWER SECTION:
snbforums.com.          60      IN      A       45.77.76.174

;; Query time: 8 msec
;; SERVER: 9.9.9.9#53(9.9.9.9) (UDP)
;; WHEN: Sat Jul 06 16:17:55 IST 2024
;; MSG SIZE  rcvd: 58

If I want to test Unbound is working I normally go to https://www.dnscheck.tools/ and I would get my own IP address as DNS resolver. I do have 9.9.9.9 set for WAN DNS setting
Thank you, that helps a lot.
 

Similar threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top