Next Dns Multiple configs on Unifi UDM Vlans

Just signed up for next dns and installed it on my UDM, I have my home config that I will use on all my devices and that seems to be running ok, Anything that connects to my wifi is using next dns. I also have my kids own clan set up and there own wifi ssid, I will be setting them up with times schedules but I can seem to figure out how to load there config to there vlan. Has anyone done this? Any help much appreciated.

4replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Hi! 

    You can do this using the Conditional configuration on the UDM. Define the subnets in the NextDNS config on the UDM.

    See: https://github.com/nextdns/nextdns/wiki/Conditional-Configuration

    Like 1
      • Graham
      • Graham
      • 11 mths ago
      • Reported - view

      so run the install command but change it to suit the other subnets??  The original install command is below, are you saying modify it? Remove the /install and add -configure my subnet??

      sh -c 'sh -c "$(curl -sL https://nextdns.io/install)"'

      I tried all the below but nothing happened, maybe I did it wrong. Can you give me an example of how you configured it?

      sudo nextdns config set     -config     -config 00:1c:42:2e:60:4a=67890     -config abcdef
      sudo nextdns restart
  • @graham - I've set it up with two specified vlans 

    sudo nextdns config set -config -config
    sudo nextdns restart

    This sets up my main vlan on xxxx and my IoT vlan on yyyy

      • Torah Ohr
      • Torah_Ohr
      • 4 mths ago
      • Reported - view

      Toby Anscombe Please help - I have been trying to get the entire config file wipe and set up the config just for one VLAN. Any advice?

Like Follow
  • 4 mths agoLast active
  • 4Replies
  • 500Views
  • 3 Following