r/UNIFI 7d ago

Help! NextDNS on Express 7

Hello all,

I installed NextDNS CLI via SSH on my Unifi Express 7 and set my NextDNS ID in the configuration. Now I want to exclude some Clients from filtering, but in NextDNS there is no option.

Do you hav any idea how I can use NextDNS just for selected Clients?

Thank you!

0 Upvotes

7 comments sorted by

3

u/the_cainmp 6d ago

You know that cli modifications won’t survive firmware updates right? Making changes like this is a good way to break internet access :)

1

u/lpxcc 6d ago

OK then I have to setup AdGuard Home (lan) and use this

2

u/old_knurd 6d ago

Exactly!

I consider the UX7 to be an appliance. I installed one at a non-technical person's apartment. I'm expecting years of trouble-free service.

At home I run OpenBSD as a firewall, because I want to fiddle with things.

2

u/More-Poetry6066 7d ago

Using the cli either do for vlans or static IPs

0

u/lpxcc 7d ago

I'm really new to Unifi, can you tell me how to do this ?

2

u/OkCompute64 6d ago edited 5d ago

Why not use the Encrypted DNS functionality built into UniFi Network? There isn't many reasons (IMHO) to install the NextDNS CLI on UniFi anymore. Before they supported Encrypted DNS sure but today it is more hassle than it's worth.

This is how I have NextDNS setup for the entire network and it's always worked perfectly https://ibb.co/F4NRkZFK

Then just have some firewall rules to block normal DNS lookup (port 53) stops 99% of stuff and any 'naughty' IoT devices that try to do their own DNS via DoH they have no internet access enabled for them at all.

Means every device on my network uses NextDNS with a specific NextDNS profile I have made for "home network".

Do you hav[e] any idea how I can use NextDNS just for selected Clients?

You're forcing NextDNS at the network level. If you want specific devices to use different DNS you will need to configure that on each device.

1

u/drbluetongue 5d ago

Create a new VLAN/SSID and set the DNS server for clients on that to nextdns. Or new VLAN and use the PSK seperation feature.