How to install DOH on a Ubiquiti ER-X

I followed the instructions and ran the following command in SSH

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

I am not prompted to input anything. Also, how do i uninstall it, if I even installed it in the first place or how do I check if it was installed?

I also tried

nestdns stop

nextdns start

nextdns uninstall


All are returned as unknown commands.


4 replies

    • rubcebgamnydwofTe5
    • 2 yrs ago
    • Reported - view

    What do you get as the output from:

    sh -c 'DEBUG=1 sh -c "$(curl -sL https://nextdns.io/install)"'
    • Steve_S
    • 2 yrs ago
    • Reported - view

    Nothing happens, Its just same as before


    admin@router:~$ sh -c 'sh -c "$(curl -sL https://nextdns.io/install)"'
    admin@router:~$ sh -c 'DEBUG=1 sh -c "$(curl -sL https://nextdns.io/install)"'

    • Ryan_Phillips
    • 2 yrs ago
    • Reported - view

    You probably have to be 'root' to run the command. Running sudo -s should work.

      • Steve_S
      • 2 yrs ago
      • Reported - view

      Ryan Phillips Same as before, Just curious -  Did you encounter the same issue?

Content aside

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