Skip to main content
Topic: DNSCrypt for s6 (Read 1742 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

Re: DNSCrypt for s6

Reply #16
Run dnscrypt-proxy from the terminal and see what it says.

Re: DNSCrypt for s6

Reply #17
[FATAL] Unable to load the configuration file [dnscrypt-proxy.toml] -- Maybe use the -config command-line switch?

Re: DNSCrypt for s6

Reply #18
[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.toml
try this command

Edit : https://gitea.artixlinux.org/artix/s6-services/src/commit/f825fe17f9b24edca05a6c9cae5083fbb14acada/dnscrypt-proxy/dnscrypt-proxy-srv/run#L3

service contain same line

Question : Do you use network manager? if so have you disabled network manager dns ?
Create problems which don't have solution

Re: DNSCrypt for s6

Reply #19
I do but I've tried with and without network manager.

Re: DNSCrypt for s6

Reply #20
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
What's the equivalent to a "socket" for s6? saw it in this tutorial https://youtube.com/watch?v=587F2-eKBqc

Also I did everything in this vid exactly the way he did it except for the systemd socket parts.


Re: DNSCrypt for s6

Reply #22
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.

Re: DNSCrypt for s6

Reply #23
Tried the systemd routing thing by making some dummy type files and it didn't work either

Re: DNSCrypt for s6

Reply #24
Tried the systemd routing thing by making some dummy type files and it didn't work either
Stop 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
No need to be rude, the command did nothing.

Re: DNSCrypt for s6

Reply #26
There's a package called "s6-dns" would there be any useful commands in there for configuring dnscrypt?

Re: DNSCrypt for s6

Reply #27
That's completely different, unrelated software.

Re: DNSCrypt for s6

Reply #28
I 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-proxy
Some 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.conf
Then restart NetworkManager and dnscrypt service file and read logs
Create problems which don't have solution