Re: DNSCrypt for s6 Reply #15 – 22 October 2022, 05:21:53 Quote from: Piere – on 21 October 2022, 16:53:24Whatever change I make to resolv.conf it resets back to 127.0.0.1https://wiki.archlinux.org/title/Domain_name_resolution#Overwriting_of_/etc/resolv.conf
Re: DNSCrypt for s6 Reply #16 – 22 October 2022, 06:30:08 Run dnscrypt-proxy from the terminal and see what it says.
Re: DNSCrypt for s6 Reply #17 – 22 October 2022, 14:41:24 [FATAL] Unable to load the configuration file [dnscrypt-proxy.toml] -- Maybe use the -config command-line switch?
Re: DNSCrypt for s6 Reply #18 – 22 October 2022, 17:03:18 Quote from: Piere – on 22 October 2022, 14:41:24[FATAL] Unable to load the configuration file [dnscrypt-proxy.toml] -- Maybe use the -config command-line switch?Code: [Select]/usr/bin/dnscrypt-proxy -config /etc/dnscrypt-proxy/dnscrypt-proxy.tomltry this commandEdit : https://gitea.artixlinux.org/artix/s6-services/src/commit/f825fe17f9b24edca05a6c9cae5083fbb14acada/dnscrypt-proxy/dnscrypt-proxy-srv/run#L3service contain same lineQuestion : Do you use network manager? if so have you disabled network manager dns ?
Re: DNSCrypt for s6 Reply #19 – 22 October 2022, 17:51:58 I do but I've tried with and without network manager.
Re: DNSCrypt for s6 Reply #20 – 22 October 2022, 21:47:11 You want me to replace the command at the bottom of the script to [ /usr/bin/dnscrypt-proxy -config /etc/dnscrypt-proxy/dnscrypt-proxy.toml ] ?
Re: DNSCrypt for s6 Reply #21 – 22 October 2022, 22:02:55 What's the equivalent to a "socket" for s6? saw it in this tutorial https://youtube.com/watch?v=587F2-eKBqcAlso I did everything in this vid exactly the way he did it except for the systemd socket parts. Last Edit: 22 October 2022, 22:24:34 by Piere
Re: DNSCrypt for s6 Reply #22 – 22 October 2022, 22:46:40 All unix systems have sockets. Systemd has a file format for specifying socket paths that can be used as part of the dependencies/services (no other init systems have that). This shouldn't actually matter though. Again, I have no idea how this program works, but presumably it just uses a path to make some socket file somewhere and it should be totally capable of doing that on its own. Last Edit: 22 October 2022, 22:51:50 by Dudemanguy
Re: DNSCrypt for s6 Reply #23 – 22 October 2022, 23:33:47 Tried the systemd routing thing by making some dummy type files and it didn't work either Last Edit: 22 October 2022, 23:43:01 by Piere
Re: DNSCrypt for s6 Reply #24 – 23 October 2022, 18:48:37 Quote from: Piere – on 22 October 2022, 23:33:47Tried the systemd routing thing by making some dummy type files and it didn't work eitherStop going off track, what did executing /usr/bin/dnscrypt-proxy -config /etc/dnscrypt-proxy/dnscrypt-proxy.toml on the command line give you?
Re: DNSCrypt for s6 Reply #25 – 23 October 2022, 19:34:30 No need to be rude, the command did nothing.
Re: DNSCrypt for s6 Reply #26 – 24 October 2022, 03:36:44 There's a package called "s6-dns" would there be any useful commands in there for configuring dnscrypt?
Re: DNSCrypt for s6 Reply #27 – 24 October 2022, 16:24:02 That's completely different, unrelated software.
Re: DNSCrypt for s6 Reply #28 – 25 October 2022, 20:28:58 Quote from: Piere – on 22 October 2022, 17:51:58I do but I've tried with and without network manager.resolve.conf must be configured (https://wiki.archlinux.org/title/Dnscrypt-proxy#Modify_resolv.conf) inorder to work dnscrypt-proxySome programs overwrite this file . i.e NetworkManager Read this section and apply what is written there https://wiki.archlinux.org/title/NetworkManager#Unmanaged_/etc/resolv.confThen restart NetworkManager and dnscrypt service file and read logs
Re: DNSCrypt for s6 Reply #29 – 25 October 2022, 20:33:36 Quote from: Arch_user – on 21 October 2022, 14:57:42share logs for dnscrypt at path/var/log/dinit/There was mistake by me , you need to look logs at /var/log/ directory