0

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.

4 replies

null
    • Seashell_Quill
    • 2 yrs ago
    • Reported - view

    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

      • Graham
      • 2 yrs 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 10.0.4.0/24=12345     -config 00:1c:42:2e:60:4a=67890     -config abcdef
      sudo nextdns restart
    • Toby_Anscombe
    • 2 yrs ago
    • Reported - view

    @graham - I've set it up with two specified vlans 

    sudo nextdns config set -config 192.168.108.0/24=xxxx -config 192.168.1.0/24=yyyy
    sudo nextdns restart
    

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

      • Torah_Ohr
      • 2 yrs 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?

Content aside

  • 2 yrs agoLast active
  • 4Replies
  • 1841Views
  • 3 Following