1

2024 Ubiquiti DNS Shield Configuration Issue

I noticed that Ubiquiti now allows the use of DNS Shield which allows DNS over HTTPS within the Dream Machine Pro's Controller software. I also noticed that NextDNS has 3 entries in the UniFi control panel by default (see attached screenshot). I have a paid NextDNS Pro account. How do I force Ubiquiti's settings to use my specific paid account? In other words, how do I set it to use "https://dns.nextdns.io/XXXXXX" as an entry?

61 replies

null
    • Safwan_Shaikh
    • 7 mths ago
    • Reported - view

    On new version 8.4.59 got an option to set the nextDNS how to setup this btw please anyone let me know 

      • Coleman_Rasof
      • 5 mths ago
      • Reported - view

       Thank you for sharing, this got us going. 

    • miles267
    • 7 mths ago
    • Reported - view

    BTW I did find this DNS Stamp Calculator for DNSCrypt.  Wasn't sure if there are instructions on how to use it to generate a DNS Stamp for NextDNS.  Thanks.
    https://dnscrypt.info/stamps/

    • Dex
    • 7 mths ago
    • Reported - view

    On the NextDNS setup guide, select Linux, scroll down to DNSCrypt and you will find your sdns:// url

     

    Paste sdns:// into the Custom DNS Stamp within Unifi. Server name is for your own refrence.

    • Brian.13
    • 5 mths ago
    • Reported - view

    Are there any benefits of this UI option in UDM or does CLI still perform everything and then some?

      • Eric.9
      • 5 mths ago
      • Reported - view

       I believe CLI has better functionality (i.e., client identification).  There are a lot of us who are afraid to install the CLI for fear it'll break something with a future firmware update.

      • NextDNs
      • 5 mths ago
      • Reported - view

       which shouldn’t be a concern as it requires a reinstall on firmware updates

      • Eric.9
      • 5 mths ago
      • Reported - view

       Even if it needs to be reinstalled with each firmware update, it makes me reticent to use it because I'm afraid installing it on a fresh firmware update will break things.

      There's enough reason to doubt continued development of the CLI since development of NextDNS is stagnant and the developers/founders seemed to have shifted their entire focus to dns0.eu instead.

      • NextDNs
      • 5 mths ago
      • Reported - view

       the founder and maintainer of the CLI is using UDM at home with the CLI, so you are guaranteed any issue would be noticed quite quickly with this setup. The CLI is quite stable and never created any issue on UDM's firmware.

      • Brian.13
      • 5 mths ago
      • Reported - view

       thanks Staff! I can concur I've been using CLI for years with ZERO issue, just reinstall after update. So no qualms there. Sounds like CLI is the way to go for now since I like have my devices identified. and Console offers no feature advantages.

      • JWARE
      • 5 mths ago
      • Reported - view

       Yes, by having this in the OS of the UDM, you can use Policy-based routing to do things like Domain name-based routing of specific domains to a VPN tunnel.  For me, its well worth this function vs the "nice to have" of seeing what client name made a specific request from a site. YRMV

      • Eric.9
      • 5 mths ago
      • Reported - view

      Does it use DoH or DoT?

    • Lukas_Beran
    • 5 mths ago
    • Reported - view

    Is NextDNS CLI for Unifi using the Unifi's built-in superold version of dnscrypt or is it using something else shipped with NextDNS CLI?

      • R_P_M
      • 5 mths ago
      • Reported - view

       NextDNS CLI uses its own implementation of DoH. 

    • David_A.1
    • 5 mths ago
    • Reported - view

    FYI CLI install is broken in 4.1.9 :-( Moving back to no client identification by using the gui option

      • Brian.13
      • 4 mths ago
      • Reported - view

      is this still broken? CLI? what is the error etc?

      • David_A.1
      • 4 mths ago
      • Reported - view

       No error even with debug it just does nothing when running the command.

      • David_A.1
      • 4 mths ago
      • Reported - view

      Welp... it's working now....

    • Defender
    • 4 mths ago
    • Reported - view

    I’m about to roll the dice and take a fellow member’s lead and use the Control D CLI on my UniFi EFG, but point it to NextDNS.  This will allow us to use DoH3.

      • Hotzigetty
      • 3 mths ago
      • Reported - view

      did that work and survive updates? 

    • Radman
    • 3 mths ago
    • Reported - view

    the 1.44.0 and above CLI versions have an entry for "resist unifi firmware upgrade" so hopefully that does exactly what it says :) 

    have not had an OS update since that came out but looks like there is one coming soon, so we shall find out.

      • James.46
      • 3 mths ago
      • Reported - view

       I just updated one of my sites to Unifi OS 4.1.13 and the NextDNS CLI v1.44.3 installation was in a running state...but traffic was not actually going through NextDNS - confirmed this by successfully visiting a URL that was blocked AND confirmed that no traffic was seen in the logs. 

      Running NextDNS Restart via CLI instantly fixed it. Perhaps a restart of the device would have also done the same thing...will test that on another site when I can.

      • Radman
      • 3 mths ago
      • Reported - view

       similar to me, 2 sites, both were updated to 4.1.13, in both cases the CLI survived the update and was passing traffic via NextDNS, but neither reported the device name. I reran the config and accepted all the same settings and now working.

      seems its not quite right.

      • James.46
      • 3 mths ago
      • Reported - view

        Interesting, I wonder why we're getting slightly different results. I just tested upgrading to 4.1.1.3 at another site and the experience was exactly the same as before - the NextDNS installation survived the upgrade and shows as running but the only traffic in the logs were from clients that have the app installed (ie not relying on the CLI installation). 

      I restarted the console which didn't help, ran a few commands via SSH  (Start, Upgrade, Run and Activate) just to see if they would help but none of them did. The only one that got it working for me was Restart

      Still, this a great improvement! 

      • Radman
      • 3 mths ago
      • Reported - view

       interesting that a full console restart, which “should” also involve the CLI being restarted didn’t work, but restarting the service did. Guess that command line restart does something else, my pick would be it re-reads the config or something, as what I did was rerun the install command and just hit enter 3 times to accept the current profile and settings.

      progress but still need to remember!

    • Roman_Gonzalez
    • 3 mths ago
    • Reported - view

    Hi Guys, I enabled both the CLI and the Custom. is there any issue with doing this? show I only have one?

Content aside

  • 1 Likes
  • 1 mth agoLast active
  • 61Replies
  • 14675Views
  • 31 Following