IRCNow

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

openbsd:net:unbound [2020/07/13 04:49]
jrmu created
openbsd:net:unbound [2020/07/13 04:51] (current)
jrmu
Line 52: Line 52:
  
 These are IP addresses for DNS servers which I got from [[https://​servers.opennic.org/​]]. However, the servers change regularly so make sure you update the list. These are IP addresses for DNS servers which I got from [[https://​servers.opennic.org/​]]. However, the servers change regularly so make sure you update the list.
 +
 +To start unbound:
 +
 +<​code>​
 +$ doas rcctl enable unbound
 +$ doas rcctl start unbound
 +</​code>​
 +
 +To test if unbound is working:
 +
 +<​code>​
 +$ dig @127.0.0.1 google.com
 +</​code>​
 +
 +You should see something like this:
 +
 +<​code>​
 +;; ANSWER SECTION:
 +google.com. ​            ​29 ​     IN      A       ​172.217.27.142
 +</​code>​