6 Unbound diagnostic commands to know
TechBytes with Ron Nutter
Are you using unbound with your PiHole server? Would you like to see what is going on with Unbound? Stay tuned and I will show you some commands that will do that.
! Enable remote administration of unbound Sudo unbound-control-setup
! Place these commands in /etc/unbound/unbound.conf ! Place before any cmd to load any *.conf files ! remote-control: # Enable remote control with unbound-control(8) here. # set up the keys and certificates with unbound-control-setup. control-enable: yes
# what interfaces are listened to for remote control.
# give 0.0.0.0 and ::0 to listen to all interfaces.
control-interface: 127.0.0.1
# port number for remote control operations.
control-port: 8953
# unbound server key file.
server-key-file: "/etc/unbound/unbound_server.key"
# unbound server certificate file.
server-cert-file: "/etc/unbound/unbound_server.pem"
# unbound-control key file.
control-key-file: "/etc/unbound/unbound_control.key"
# unbound-control certificate file.
control-cert-file: "/etc/unbound/unbound_control.pem"
! Reboot pi-hole rpi to activate changes Sudo reboot
! Unbound commands to use ! dump cache to stdout sudo unbound-control dump_cache
! print statistics without resetting them sudo unbound-control stats_noreset
! Display status of unbound server sudo unbound-control status
! Show dns servers to be used for lookup of the specified domain sudo unbound-control lookup www.novell.com
! Show the requests currently being worked on sudo unbound-control dump-requestlist
! Shows the dns servers the requests will be forwarded to sudo unbound-control list_forwards
⏱️TIMESTAMPS⏱️ 0:00 - Intro 0:48 - What we will be covering 1:11 - Configuring unbound-control 3:36 - unbound-control dump_cache 3:56 - unbound-control stats_noreset 4:26 - unbound-control status 4:56 - unbound-control domain_lookup 5:38 - unbound-control dump_requestlist 6:17 - unbound-control list_forwards 6:54 - other unbound-control commands
================================================ *** Show Notes, Links and Resources **** Here are the items mentioned in this video -
CanaKit Raspberry Pi 4 2GB Basic Starter Kit with Fan (2GB RAM) https://amzn.to/35QBB8I
Click on this link to get the SmartHome Account Creation Checklist
➥➥➥ SUBSCRIBE FOR MORE VIDEOS ➥➥➥ Never miss a video about creating your own smart home Subscribe ⇢ http://ronaldnutter.com/subscribe
To listen to an audio version of this episode while driving, TechBytes with Ron Nutter is available on iTunes, Google Podcasts, Stitcher and TuneIn. Go to TechByteswithRonNutter.com to subscribe today!
To subscribe to the TechbytesRN newsletter, click here - http://ro ... https://www.youtube.com/watch?v=yoteistaGJo
50166931 Bytes