<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=6116&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / dnscrypt-proxy settings]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=6116</link>
		<description><![CDATA[The most recent posts in dnscrypt-proxy settings.]]></description>
		<lastBuildDate>Mon, 06 Nov 2023 11:38:35 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: dnscrypt-proxy settings]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=45271#p45271</link>
			<description><![CDATA[<p>Looks like &#039;dnsmasq&#039; is using port 53</p><div class="codebox"><pre><code># ss -ltnp sport 53
State        Recv-Q       Send-Q             Local Address:Port             Peer Address:Port      Process      
LISTEN       0            32                       0.0.0.0:53                    0.0.0.0:*          users:((&quot;dnsmasq&quot;,pid=3600,fd=5))</code></pre></div><p>Following the arch wiki I edited the &#039;/etc/dnsmasq.conf&#039;</p><div class="codebox"><pre><code>no-resolv
server=::1#53000
server=127.0.0.1#53000
listen-address=::1,127.0.0.1</code></pre></div><p>Unfortunately it did not help. </p><div class="codebox"><pre><code># service dnscrypt-proxy start
Starting dnscrypt-proxy
Unable to start, see /var/log/dnscrypt-proxy.log and /var/log/dnscrypt-proxy.err</code></pre></div><p>The error file shows</p><div class="codebox"><pre><code>[2023-11-06 13:08:48] [NOTICE] dnscrypt-proxy 2.0.45
[2023-11-06 13:08:48] [FATAL] Unsupported key in configuration file: [sources.public-resolvers.cache]
[2023-11-06 13:12:25] [NOTICE] dnscrypt-proxy 2.0.45
[2023-11-06 13:12:25] [FATAL] Unsupported key in configuration file: [sources.public-resolvers.cache]
[2023-11-06 13:16:28] [NOTICE] dnscrypt-proxy 2.0.45
[2023-11-06 13:16:28] [FATAL] Unsupported key in configuration file: [sources.public-resolvers.cache]
[2023-11-06 13:18:42] [NOTICE] dnscrypt-proxy 2.0.45
[2023-11-06 13:18:42] [FATAL] Unsupported key in configuration file: [sources.public-resolvers.cache]</code></pre></div><p>Any suggestions are appreciated!</p>]]></description>
			<author><![CDATA[dummy@example.com (amaro)]]></author>
			<pubDate>Mon, 06 Nov 2023 11:38:35 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=45271#p45271</guid>
		</item>
		<item>
			<title><![CDATA[Re: dnscrypt-proxy settings]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=45260#p45260</link>
			<description><![CDATA[<p>Running <span class="bbc">ss -ltnp sport 53</span> - as root/sudo - should confirm which process is listening on port 53.</p><p>Strictly, only -l (--listening) and -p (--processes) are needed here, but depending on what one is filtering, limiting to -t (--tcp) and -n (--numeric) makes the output clearer.</p>]]></description>
			<author><![CDATA[dummy@example.com (boughtonp)]]></author>
			<pubDate>Sun, 05 Nov 2023 14:42:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=45260#p45260</guid>
		</item>
		<item>
			<title><![CDATA[Re: dnscrypt-proxy settings]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=45259#p45259</link>
			<description><![CDATA[<p>Seems something else is using 127.0.2.1:53 (maybe another instance of dnscrypt-proxy?) You could investigate using lsof and ps ..</p><p>Or just change 127.0.2.1:53 to 127.0.0.1:53, that&#039;s the default anyway. I only use 127.0.2.1 from an older release custom config, which simply works here. Remember to update network-manager configs also, if you use that. Should all be good after a reboot.</p>]]></description>
			<author><![CDATA[dummy@example.com (dzz)]]></author>
			<pubDate>Sun, 05 Nov 2023 13:01:58 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=45259#p45259</guid>
		</item>
		<item>
			<title><![CDATA[Re: dnscrypt-proxy settings]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=45257#p45257</link>
			<description><![CDATA[<p>That&#039;s weird. Upon reboot &#039;dnscrypt-proxy&#039; stopped working.</p><div class="codebox"><pre><code>root@ ~ 
# service dnscrypt-proxy status
Stopped
root@ ~
# service dnscrypt-proxy start
Starting dnscrypt-proxy
Unable to start, see /var/log/dnscrypt-proxy.log and /var/log/dnscrypt-proxy.err
root@ ~ 
# service dnscrypt-proxy enable
Usage: /etc/init.d/dnscrypt-proxy {start|stop|restart|status}</code></pre></div><p>The error file shows</p><div class="codebox"><pre><code># cat /var/log/dnscrypt-proxy.err
[2023-11-04 22:59:45] [NOTICE] dnscrypt-proxy 2.0.45
[2023-11-04 22:59:45] [NOTICE] Network not available yet -- waiting...
[2023-11-04 23:00:04] [NOTICE] Network connectivity detected
[2023-11-04 23:00:04] [FATAL] listen udp 127.0.2.1:53: bind: address already in use
[2023-11-04 23:12:21] [NOTICE] dnscrypt-proxy 2.0.45
[2023-11-04 23:12:21] [NOTICE] Network connectivity detected
[2023-11-04 23:12:21] [FATAL] listen udp 127.0.2.1:53: bind: address already in use
[2023-11-04 23:52:48] [NOTICE] dnscrypt-proxy 2.0.45
[2023-11-04 23:52:48] [NOTICE] Network connectivity detected
[2023-11-04 23:52:48] [FATAL] listen udp 127.0.2.1:53: bind: address already in use</code></pre></div><p>What might cause such error? How to proceed?</p>]]></description>
			<author><![CDATA[dummy@example.com (amaro)]]></author>
			<pubDate>Sun, 05 Nov 2023 08:38:18 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=45257#p45257</guid>
		</item>
		<item>
			<title><![CDATA[Re: dnscrypt-proxy settings]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=45243#p45243</link>
			<description><![CDATA[<p>Thank you, dzz!</p><p>With my settings if I use the &#039;system proxy&#039; option in &#039;librewolf&#039; everything works fine.<br />I have just tried your settings and everything works fine with the &#039;system proxy&#039; option in &#039;librewolf&#039;.<br />But if I put your settings in the &#039;manual proxy&#039; option &#039;librewolf&#039; doesn&#039;t work.</p><p>Next, I tested both your link and the link suggested on the Arch wiki page to see if everything works </p><div class="codebox"><pre><code>https://ipleak.net/
https://dnsleaktest.com/</code></pre></div><p>and they show similar results -&gt; 2 cloudflare servers.</p><p>The &#039;whatismyproxy[.]com&#039; still gives the same result though</p><div class="codebox"><pre><code>http://www.whatismyproxy.com/
No proxies were detected.</code></pre></div><p>I do not know if that is a real issue.</p><p>So my guess is that the &#039;system proxy&#039; option in &#039;librewolf&#039; is working fine. <br />(Maybe &#039;dnscrypt-proxy&#039; doesn&#039;t allow manual browser settings, who knows.)</p>]]></description>
			<author><![CDATA[dummy@example.com (amaro)]]></author>
			<pubDate>Sat, 04 Nov 2023 17:48:42 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=45243#p45243</guid>
		</item>
		<item>
			<title><![CDATA[Re: dnscrypt-proxy settings]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=45235#p45235</link>
			<description><![CDATA[<p>Working (for me) /etc/dnscrypt-proxy/dnscrypt-proxy.toml :</p><div class="codebox"><pre><code># Empty listen_addresses to use systemd socket activation
listen_addresses = [&#039;127.0.2.1:53&#039;]
server_names = [&#039;cloudflare&#039;]

[query_log]
  file = &#039;/var/log/dnscrypt-proxy/query.log&#039;

[nx_log]
  file = &#039;/var/log/dnscrypt-proxy/nx.log&#039;

[sources]
  [sources.&#039;public-resolvers&#039;]
  url = &#039;https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md&#039;
  cache_file = &#039;/var/cache/dnscrypt-proxy/public-resolvers.md&#039;
  minisign_key = &#039;RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3&#039;
  refresh_delay = 72
  prefix = &#039;&#039;</code></pre></div><p> ** I use network-manager. In ipv4 settings, &quot;Method&quot; is &quot;Automatic (DHCP) addresses only&quot; and &quot;DNS servers&quot; is &quot;127.0.2.1&quot; **</p><p>I have used <a href="https://ipleak.net/" rel="nofollow">https://ipleak.net/</a> to test but can&#039;t verify their reliability. Shows cloudfare dns.</p><div class="codebox"><pre><code>root@ceres:~# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
# 127.0.0.53 is the systemd-resolved stub resolver.
# run &quot;resolvectl status&quot; to see details about the actual nameservers.

nameserver 127.0.2.1</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (dzz)]]></author>
			<pubDate>Sat, 04 Nov 2023 13:55:14 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=45235#p45235</guid>
		</item>
		<item>
			<title><![CDATA[dnscrypt-proxy settings]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=45232#p45232</link>
			<description><![CDATA[<p>Hello everybody!</p><p>After reading this comment <a href="https://dev1galaxy.org/viewtopic.php?pid=24007#p24007" rel="nofollow">https://dev1galaxy.org/viewtopic.php?pid=24007#p24007</a> I installed &#039;dnscrypt-proxy&#039; and changed the config file as follows</p><div class="codebox"><pre><code># cat /etc/dnscrypt-proxy/dnscrypt-proxy.toml
# Empty listen_addresses to use systemd socket activation
listen_addresses = [&#039;127.0.0.1:53&#039;, &#039;[::1]:53&#039;]
server_names = [&#039;cloudflare&#039;]</code></pre></div><p>Trying to see if it is working I checked this website &#039;whatismyproxy[.]com&#039; but it says I don&#039;t use proxy</p><div class="codebox"><pre><code>http://www.whatismyproxy.com/
No proxies were detected.</code></pre></div><p>Also, upon changing the network setting in &#039;librewolf&#039; to proxy 127.0.0.1 and port 53 &#039;librewolf stops working and I get &#039;server not found&#039; message.</p><p>Lastly, Arch wiki suggests updating the &#039;resolv.conf&#039; with</p><div class="codebox"><pre><code>https://wiki.archlinux.org/title/Dnscrypt-proxy

nameserver ::1
nameserver 127.0.0.1
options edns0</code></pre></div><p>I tried that too but it made no difference.</p><p>What are the correct settings for &#039;dnscrypt-proxy&#039;?<br />Thank you in advance!</p><p>p.s. Currently I use Cloudflare servers</p><div class="codebox"><pre><code># cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 1.1.1.1
nameserver 1.0.0.1</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (amaro)]]></author>
			<pubDate>Sat, 04 Nov 2023 11:27:23 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=45232#p45232</guid>
		</item>
	</channel>
</rss>
