1
General Discussion / Anyone setup NextDNS?
« on: November 25, 2021, 05:21:55 pm »
Hello,
I had my OPNsense firewall at home running nicely until we had a power cut and the M2 drive failed. I replaced this and installed the lasted OPNsense and restored my config and was back online in no time really.
The only thing I can't remember how I get working is my NextDNS.
A rebuild would of lost my local changes. In my notes I have this, are below. Are they still the valid way to get this working again?
Created a file called nextdns.conf in /var/unbound/etc
Make sure the file owner is unbound and same rights as other files.
chown unbound nextdns.conf
I had my OPNsense firewall at home running nicely until we had a power cut and the M2 drive failed. I replaced this and installed the lasted OPNsense and restored my config and was back online in no time really.
The only thing I can't remember how I get working is my NextDNS.
A rebuild would of lost my local changes. In my notes I have this, are below. Are they still the valid way to get this working again?
Created a file called nextdns.conf in /var/unbound/etc
Quote
server:
tls-cert-bundle: /etc/ssl/cert.pem
forward-zone:
name: "."
forward-tls-upstream: yes
forward-addr: 45.90.28.0#e6f5fx.dns1.nextdns.io
forward-addr: 2a07:a8c0::#e6f5fx.dns1.nextdns.io
forward-addr: 45.90.30.0#e6f5fx.dns2.nextdns.io
forward-addr: 2a07:a8c1::#e6f5fx.dns2.nextdns.io
Make sure the file owner is unbound and same rights as other files.
chown unbound nextdns.conf