0

Cant get NextDNS setup on UDM Pro 1.9.2.3432

Hello, 

I've been trying to setup NextDNS CLI on UDM Pro but with no success. I went through every installation step listed under the setup guide and got it installed. However, when I try "Nextdns activate", I get "Error: setup resolv.conf: rename /etc/resolv.conf /etc/resolv.conf.nextdns-bak: device or resource busy

Error: non zero exit code: 1: OCI runtime error "

I already disable auto-activate but still no luck. Restarted/Rebooted the whole Unifi stack a gazillion times without success. 

I would appreciate any and all guidance. 

41 replies

null
    • olivier
    • 2 yrs ago
    • Reported - view

    You can ignore the error, activation does not work on UDM. The only consequence is that DNS queries performed by the router itself are not going thru NextDNS, but all your LAN's queries will.

      • olivier
      • 2 yrs ago
      • Reported - view

      Christopher Andrews that is the problem, the CLI will only work private IPs are used.

      • Christopher_Andrews
      • 2 yrs ago
      • Reported - view

      Olivier Poitrey Those are my private internal NAT IPs... ON my edgerouter I used the same 11.11.10.1/24 for my lan and they worked on that.

      • olivier
      • 2 yrs ago
      • Reported - view

      Christopher Andrews those are public IPs, and CLI does not support that. Why don't you use private IP blocks? 

      • Christopher_Andrews
      • 2 yrs ago
      • Reported - view

      Olivier Poitrey I have two VPN connections that utilize 192.168. so I went with 11.11.x.x to not interfere. NOt sure if its a difference in the OS, but my EdgeRouter running NextDNS worked ok with my LAN on 11.11.x.x networks.

      • Christopher_Andrews
      • 2 yrs ago
      • Reported - view

      Olivier Poitrey  i'll change to 10.10.x.x and see if that resolves.

      • Aspi
      • 2 yrs ago
      • Reported - view

      Christopher Andrews let me know if this works out for you. I can then follow in your footsteps as I also have VLANs set up in my network.

      • Christopher_Andrews
      • 2 yrs ago
      • Reported - view

      Aspi Olivier Poitrey I changed to 10.10.x.x and it seems to have begun working. Thats odd that the Edgerouter allowed 11.11.x.x but the UDM doesnt, perhaps its the difference in EdgeOS and UnifiOS? Either way, looks like devices are populating now.   Aspi are you running a non-standard IP range for your LANs?

      • Christopher_Andrews
      • 2 yrs ago
      • Reported - view

      Olivier Poitrey  would you mind telling me how to delete a line from config, specifically "config 11.11.30.0/..."  I know how to add them but not remove them! Thank you for all your help.

      • olivier
      • 2 yrs ago
      • Reported - view

      Christopher Andrews edit the config file in /data/nextdns.conf

      • Christopher_Andrews
      • 2 yrs ago
      • Reported - view

      Olivier Poitrey Thanks again for your help!

    • VBAP_Admin
    • 2 yrs ago
    • Reported - view

    I have the following entry in my config:

    listen localhost:53

    • Aspi
    • 2 yrs ago
    • Reported - view

    Olivier Poitrey so I see that NextDNS is running but I still dont see any traffic hitting the service. I've had my WAN DNS changed to cloudfare prior to doing this, could that be the issue? I cant remember what they were before I had them changed to the Cloudfare. Also, I did change the DNS of the one of the LAN networks to the auto but that didn't help either. 

      • Christopher_Andrews
      • 2 yrs ago
      • Reported - view

      Aspi Are you also using a UDM? I had no issues with the NextDNS client running on my edgerouter, but now that its on the UDM none of the traffic is hitting. What version of Network and Controller are you on? Perhaps there's a common thread there.

      • Aspi
      • 2 yrs ago
      • Reported - view

      Christopher Andrews No, I am using UDM Pro running on 1.9.2.3432

      • Christopher_Andrews
      • 2 yrs ago
      • Reported - view

      Aspi Im also using a UDM Pro but on 1.9.3

    • Aspi
    • 2 yrs ago
    • Reported - view

    Christopher Andrews No, for all of my LANs, I have standard 192.168.x.x. I am still new to the whole UDM Pro settings, can you please tell me what you did you do to get it NDNS working?

Content aside

  • 2 yrs agoLast active
  • 41Replies
  • 1791Views
  • 4 Following