Heads-up a bit lengthy post as multiple dig outputs are present.
Hi, Yes i am able to query and resolve other domains too. Please find the dig output when queried through Pi-Hole and then forwarded to unbound. and other domains dig output via pi-hole ip address and unbound ip.
Domains tested through unbound and Pi-hole.
- google.com
- yahoo.com
- onedrive.com
- discourse.pi-hole.net
- jobbank.gc.ca
Pi-Hole Dig output for Domain: google.com
user@raspberrypi:~ $ dig google.com @10.10.10.12
; <<>> DiG 9.10.3-P4-Raspbian <<>> google.com @10.10.10.12
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1436
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 300 IN A 172.217.160.206
;; Query time: 109 msec
;; SERVER: 10.10.10.12#53(10.10.10.12)
;; WHEN: Wed Oct 14 22:07:00 IST 2020
;; MSG SIZE rcvd: 55
Pi-Hole Dig output for Domain: yahoo.com
user@raspberrypi:~ $ dig yahoo.com @10.10.10.12
; <<>> DiG 9.10.3-P4-Raspbian <<>> yahoo.com @10.10.10.12
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22109
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 5, ADDITIONAL: 10
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
;; QUESTION SECTION:
;yahoo.com. IN A
;; ANSWER SECTION:
yahoo.com. 1800 IN A 74.6.231.20
yahoo.com. 1800 IN A 74.6.231.21
yahoo.com. 1800 IN A 74.6.143.26
yahoo.com. 1800 IN A 98.137.11.163
yahoo.com. 1800 IN A 74.6.143.25
yahoo.com. 1800 IN A 98.137.11.164
;; AUTHORITY SECTION:
yahoo.com. 172800 IN NS ns3.yahoo.com.
yahoo.com. 172800 IN NS ns1.yahoo.com.
yahoo.com. 172800 IN NS ns5.yahoo.com.
yahoo.com. 172800 IN NS ns2.yahoo.com.
yahoo.com. 172800 IN NS ns4.yahoo.com.
;; ADDITIONAL SECTION:
ns1.yahoo.com. 1209600 IN A 68.180.131.16
ns2.yahoo.com. 1209600 IN A 68.142.255.16
ns3.yahoo.com. 1800 IN A 27.123.42.42
ns4.yahoo.com. 1209600 IN A 98.138.11.157
ns5.yahoo.com. 86400 IN A 202.165.97.53
ns1.yahoo.com. 86400 IN AAAA 2001:4998:130::1001
ns2.yahoo.com. 86400 IN AAAA 2001:4998:140::1002
ns3.yahoo.com. 1800 IN AAAA 2406:8600:f03f:1f8::1003
ns5.yahoo.com. 86400 IN AAAA 2406:2000:ff60::53
;; Query time: 195 msec
;; SERVER: 10.10.10.12#53(10.10.10.12)
;; WHEN: Wed Oct 14 22:07:45 IST 2020
;; MSG SIZE rcvd: 416
Pi-Hole Dig output for Domain: onedrive.com
user@raspberrypi:~ $ dig onedrive.com @10.10.10.12
; <<>> DiG 9.10.3-P4-Raspbian <<>> onedrive.com @10.10.10.12
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40986
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
;; QUESTION SECTION:
;onedrive.com. IN A
;; ANSWER SECTION:
onedrive.com. 488 IN A 13.81.118.91
;; Query time: 4 msec
;; SERVER: 10.10.10.12#53(10.10.10.12)
;; WHEN: Wed Oct 14 22:08:21 IST 2020
;; MSG SIZE rcvd: 57
Pi-Hole Dig output for Domain: discourse.pi-hole.net
user@raspberrypi:~ $ dig discourse.pi-hole.net @10.10.10.12
; <<>> DiG 9.10.3-P4-Raspbian <<>> discourse.pi-hole.net @10.10.10.12
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61108
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 9
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
;; QUESTION SECTION:
;discourse.pi-hole.net. IN A
;; ANSWER SECTION:
discourse.pi-hole.net. 20626 IN A 159.203.95.226
;; AUTHORITY SECTION:
pi-hole.net. 2626 IN NS ns3.pi-hole.net.
pi-hole.net. 2626 IN NS ns4.pi-hole.net.
pi-hole.net. 2626 IN NS ns1.pi-hole.net.
pi-hole.net. 2626 IN NS ns2.pi-hole.net.
;; ADDITIONAL SECTION:
ns1.pi-hole.net. 2626 IN A 185.136.96.96
ns2.pi-hole.net. 2626 IN A 185.136.97.96
ns3.pi-hole.net. 2626 IN A 185.136.98.96
ns4.pi-hole.net. 2626 IN A 185.136.99.96
ns1.pi-hole.net. 2626 IN AAAA 2a06:fb00:1::1:96
ns2.pi-hole.net. 2626 IN AAAA 2a06:fb00:1::2:96
ns3.pi-hole.net. 2626 IN AAAA 2a06:fb00:1::3:96
ns4.pi-hole.net. 2626 IN AAAA 2a06:fb00:1::4:96
;; Query time: 4 msec
;; SERVER: 10.10.10.12#53(10.10.10.12)
;; WHEN: Wed Oct 14 22:08:49 IST 2020
;; MSG SIZE rcvd: 314
Pi-Hole Dig output for Domain: jobbank.gc.ca
user@raspberrypi:~ $ dig jobbank.gc.ca @10.10.10.12
; <<>> DiG 9.10.3-P4-Raspbian <<>> jobbank.gc.ca @10.10.10.12
;; global options: +cmd
;; connection timed out; no servers could be reached
Unbound Dig output for Domain: google.com
user@raspberrypi:~ $ dig google.com @127.0.0.1 -p 5353
; <<>> DiG 9.10.3-P4-Raspbian <<>> google.com @127.0.0.1 -p 5353
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 51092
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
;; QUESTION SECTION:
;google.com. IN A
;; ANSWER SECTION:
google.com. 117 IN A 172.217.160.206
;; Query time: 0 msec
;; SERVER: 127.0.0.1#5353(127.0.0.1)
;; WHEN: Wed Oct 14 22:10:03 IST 2020
;; MSG SIZE rcvd: 55
Unbound Dig output for Domain: yahoo.com
user@raspberrypi:~ $ dig yahoo.com @127.0.0.1 -p 5353
; <<>> DiG 9.10.3-P4-Raspbian <<>> yahoo.com @127.0.0.1 -p 5353
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 2245
;; flags: qr rd ra; QUERY: 1, ANSWER: 6, AUTHORITY: 5, ADDITIONAL: 10
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
;; QUESTION SECTION:
;yahoo.com. IN A
;; ANSWER SECTION:
yahoo.com. 1631 IN A 74.6.231.20
yahoo.com. 1631 IN A 74.6.231.21
yahoo.com. 1631 IN A 74.6.143.26
yahoo.com. 1631 IN A 98.137.11.163
yahoo.com. 1631 IN A 74.6.143.25
yahoo.com. 1631 IN A 98.137.11.164
;; AUTHORITY SECTION:
yahoo.com. 86231 IN NS ns5.yahoo.com.
yahoo.com. 86231 IN NS ns4.yahoo.com.
yahoo.com. 86231 IN NS ns2.yahoo.com.
yahoo.com. 86231 IN NS ns1.yahoo.com.
yahoo.com. 86231 IN NS ns3.yahoo.com.
;; ADDITIONAL SECTION:
ns1.yahoo.com. 1209431 IN A 68.180.131.16
ns2.yahoo.com. 1209431 IN A 68.142.255.16
ns3.yahoo.com. 1631 IN A 27.123.42.42
ns4.yahoo.com. 1209431 IN A 98.138.11.157
ns5.yahoo.com. 86231 IN A 202.165.97.53
ns1.yahoo.com. 86231 IN AAAA 2001:4998:130::1001
ns2.yahoo.com. 86231 IN AAAA 2001:4998:140::1002
ns3.yahoo.com. 1631 IN AAAA 2406:8600:f03f:1f8::1003
ns5.yahoo.com. 86231 IN AAAA 2406:2000:ff60::53
;; Query time: 0 msec
;; SERVER: 127.0.0.1#5353(127.0.0.1)
;; WHEN: Wed Oct 14 22:10:34 IST 2020
;; MSG SIZE rcvd: 416
Unbound Dig output for Domain: onedrive.com
user@raspberrypi:~ $ dig onedrive.com @127.0.0.1 -p 5353
; <<>> DiG 9.10.3-P4-Raspbian <<>> onedrive.com @127.0.0.1 -p 5353
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 40938
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
;; QUESTION SECTION:
;onedrive.com. IN A
;; ANSWER SECTION:
onedrive.com. 317 IN A 13.81.118.91
;; Query time: 0 msec
;; SERVER: 127.0.0.1#5353(127.0.0.1)
;; WHEN: Wed Oct 14 22:11:12 IST 2020
;; MSG SIZE rcvd: 57
Unbound Dig output for Domain: discourse.pi-hole.net
user@raspberrypi:~ $ dig discourse.pi-hole.net @127.0.0.1 -p 5353
; <<>> DiG 9.10.3-P4-Raspbian <<>> discourse.pi-hole.net @127.0.0.1 -p 5353
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30979
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 9
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 1472
;; QUESTION SECTION:
;discourse.pi-hole.net. IN A
;; ANSWER SECTION:
discourse.pi-hole.net. 20458 IN A 159.203.95.226
;; AUTHORITY SECTION:
pi-hole.net. 2458 IN NS ns3.pi-hole.net.
pi-hole.net. 2458 IN NS ns4.pi-hole.net.
pi-hole.net. 2458 IN NS ns1.pi-hole.net.
pi-hole.net. 2458 IN NS ns2.pi-hole.net.
;; ADDITIONAL SECTION:
ns1.pi-hole.net. 2458 IN A 185.136.96.96
ns2.pi-hole.net. 2458 IN A 185.136.97.96
ns3.pi-hole.net. 2458 IN A 185.136.98.96
ns4.pi-hole.net. 2458 IN A 185.136.99.96
ns1.pi-hole.net. 2458 IN AAAA 2a06:fb00:1::1:96
ns2.pi-hole.net. 2458 IN AAAA 2a06:fb00:1::2:96
ns3.pi-hole.net. 2458 IN AAAA 2a06:fb00:1::3:96
ns4.pi-hole.net. 2458 IN AAAA 2a06:fb00:1::4:96
;; Query time: 0 msec
;; SERVER: 127.0.0.1#5353(127.0.0.1)
;; WHEN: Wed Oct 14 22:11:37 IST 2020
;; MSG SIZE rcvd: 314
Unbound Dig output for Domain: jobbank.gc.ca
user@raspberrypi:~ $ dig jobbank.gc.ca @127.0.0.1 -p 5353
; <<>> DiG 9.10.3-P4-Raspbian <<>> jobbank.gc.ca @127.0.0.1 -p 5353
;; global options: +cmd
;; connection timed out; no servers could be reached