NextDNS on postmarketOS (Alpine Linux based)
Hi. I'm trying to use NextDNS on postmarketOS on a Librem 5 phone. PostmarketOS does not use systemd for now, so I tried to install using the next method on the list: the CLI installer with the automated install script. Unfortunately it did not detect postmarketOS although it did detect that it's like Alpine, but didn't give me any options to continue.
ERROR: Unsupported OS: Linux VERSION_ID=v24.06 ID=postmarketos ID_LIKE=alpine
ERROR: Unknown bin location for
INFO: OS:
INFO: GOARCH: arm64
INFO: GOOS: linux
INFO: NEXTDNS_BIN:
INFO: INSTALL_RELEASE: 1.43.5
ERROR: Cannot detect running environment.
So I tried to install it using the manual method for Alpine. The install went fine, and for configuration, I use the workstation method since the Librem 5 basically runs a desktop Linux OS:
sudo nextdns install -profile device--identifier-myprofileid -report-client-info -auto-activate
However, it does not seem to be using NextDNS to resolve? Am I doing something wrong? Perhaps the device identifier should not be in the profile ID?
If I enter only the profile ID with nothing prepended, how do I identify this device?
Would appreciate any help.
Thanks.
19 replies
-
The device is identified by the CLI itself, just use the profile ID.
-
Note: Manual instructions for installing NextDNS given here https://github.com/nextdns/nextdns/wiki/Alpine-Linux-Based-Distribution will overwrite /etc/apk/repositories. Use -a option to append, instead of overwriting.
sudo tee -a /etc/apk/repositories >/dev/nullRelated issue: https://github.com/nextdns/nextdns/issues/965
-
Happy to report that the manual installation instructions for Alpine Linux are now working for me on postmarketOS 25.06!
They did add systemd in this major release so not sure if that may have contributed to my success.
The only thing is that I had to restart the system after Step 1 and then again after Step 2.
@r_p_m You can mark this thread as resolved. Thanks :)
Content aside
-
1
Votes
- 10 days agoLast active
- 19Replies
- 151Views
-
2
Following
