I installed the dnscrypt-proxy2 package then configured according to the the creators of the port recipe:
then add into /etc/rc.conf:
	
	
	
		
	
	
	
		
 
[unbound]
	
	
	
		
I put # in /etc/resolv.conf
	
	
	
		
And after restarting my computer, the following errors appear during startup:
	
	
	
		
Despite the pop-up error, the programs can connect to the internet, so the connection probably works.
How to get rid of the above errors during startup?
Possibly what I configured wrongly ?
				
			#  pkg install dnscrypt-proxy2then add into /etc/rc.conf:
		Code:
	
	dnscrypt_proxy_enable="YES"
pf_enable="YES"
pf_rules="/etc/pf.conf"
local_unbound_enable="YES"
	
		Code:
	
	  set skip on lo0
  rdr pass on lo0 proto { tcp udp } from any to port 53 -> 127.0.0.1 port 5353
	[unbound]
		Code:
	
	     /var/unbound/unbound.conf:
    server:
      interface: 127.0.0.1
      do-not-query-localhost: no
  /var/unbound/forward.conf:
    forward-zone:
      name: "."
      forward-addr: 127.0.0.1@5353
	I put # in /etc/resolv.conf
		Code:
	
	#nameserver 1.1.1.1
#nameserver 9.9.9.9
	And after restarting my computer, the following errors appear during startup:
		Code:
	
	Starting local_unbound.
Waiting for nameserver to start...[1566486201] unbound-control[94333:0] warning: control-enable is 'no' in the config file.
[1566486201] unbound-control[94333:0] error: connect: Connection refused for 127.0.0.1 port 8953
.[1566486202] unbound-control[94648:0] warning: control-enable is 'no' in the config file.
[1566486202] unbound-control[94648:0] error: connect: Connection refused for 127.0.0.1 port 8953
.[1566486203] unbound-control[95159:0] warning: control-enable is 'no' in the config file.
[1566486203] unbound-control[95159:0] error: connect: Connection refused for 127.0.0.1 port 8953
.[1566486204] unbound-control[95205:0] warning: control-enable is 'no' in the config file.
[1566486204] unbound-control[95205:0] error: connect: Connection refused for 127.0.0.1 port 8953
.[1566486205] unbound-control[95831:0] warning: control-enable is 'no' in the config file.
[1566486205] unbound-control[95831:0] error: connect: Connection refused for 127.0.0.1 port 8953
giving up
	Despite the pop-up error, the programs can connect to the internet, so the connection probably works.
How to get rid of the above errors during startup?
Possibly what I configured wrongly ?