0
Can't get NextDNS to work on Manjaro Linux
I first installed via AUR but did not know how to set the config parameters so I uninstalled via AUR and used the terminal.
sh -c "$(curl -sL https://nextdns.io/install)"
I tried nextdns activate and nextdns start.
The logs show this:
Feb 08 09:00:27 manjaro systemd[1]: Started NextDNS DNS53 to DoH proxy..
Feb 08 09:00:27 manjaro nextdns[2727]: Starting NextDNS 1.10.1/linux on 127.0.0.1:53, localhost:53
Feb 08 09:00:27 manjaro nextdns[2727]: Listening on TCP/localhost:53
Feb 08 09:00:27 manjaro nextdns[2727]: Listening on TCP/127.0.0.1:53
Feb 08 09:00:27 manjaro nextdns[2727]: Listening on UDP/127.0.0.1:53
Feb 08 09:00:27 manjaro nextdns[2727]: Listening on UDP/localhost:53
Feb 08 09:00:27 manjaro nextdns[2727]: Connected 45.90.28.0:443 (con=13ms tls=45ms, TLS13)
Feb 08 09:00:27 manjaro nextdns[2727]: Connected [2001:19f0:5001:1faf:5400:2ff:fec8:7d49]:443 (con=7ms tls=7ms, TLS13)
Feb 08 09:00:27 manjaro nextdns[2727]: Switching endpoint: https://dns.nextdns.io.#188.172.219.167,2a00:11c0:63:350::3,95.179.134.211,2001:19f0:5001:1faf:5400:2ff:fec8:7d49
Feb 08 09:00:27 manjaro nextdns[2727]: Startup failed: proxy: udp: listen udp: lookup localhost on 127.0.0.1:53: no such host
Feb 08 09:00:27 manjaro nextdns[2727]: Error: proxy: udp: listen udp: lookup localhost on 127.0.0.1:53: no such host
Feb 08 09:00:27 manjaro systemd[1]: nextdns.service: Main process exited, code=exited, status=1/FAILURE
Feb 08 09:00:27 manjaro systemd[1]: nextdns.service: Failed with result 'exit-code'.
2 replies
-
I think the issue is caused by an empty /etc/hosts file. This seems to be default in Manjaro.
What should I do?
-
Found the answer.
https://wiki.archlinux.org/index.php/Network_configuration#Local_hostname_resolution
This resolved my problem.
Content aside
- 3 yrs agoLast active
- 2Replies
- 208Views
-
1
Following