0
Assign profile to specific subnet only via command line.
I am using the nextdns github command line setup via a unifi udmpro. I have 4 subnets. I am trying to leave my management subnet (192.168.1.0/24) alone (no profile) so i choose to run a CLI config command to assign to the other 3 as follows (12345 is not my profile of course):
sudo nextdns config set \
-profile 10.10.10.0/24=12345 \
-profile 10.10.20.0/24=12345 \
-profile 10.10.30.0/24=12345
sudo nextdns restart
I have a VPN client (proton VPN) setup in the UDMPRO for a specific host on the management
lan (192.168.1.0/24) that wasnt assigned a profile. It does connect to the VPN but it
connects to the nextdns profile for DNS despite not being on any of the assigned subnets.
It has no other setting to force it (DNS set to auto in network settings,browser set
to auto for DNS). Is there a different way to assign a profile to not use a profile?
1 reply
-
Not possible via the CLI to assign no profile, it's either one of your subnet profiles or (in this case) the default profile. It cannot apply no profile to a device using the CLI (in it's current form).
You'd have to bypass the CLI with that specific host and set some other DNS IP(s).
Content aside
- 2 days agoLast active
- 1Replies
- 17Views
-
2
Following
