<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Pdnsd on nagg.eu</title><link>https://nagg.eu/tags/pdnsd/</link><description>Recent content in Pdnsd on nagg.eu</description><generator>Hugo</generator><language>en</language><lastBuildDate>Sun, 01 Nov 2015 22:40:27 +0000</lastBuildDate><atom:link href="https://nagg.eu/tags/pdnsd/index.xml" rel="self" type="application/rss+xml"/><item><title>CentOS, DNSCrypt and pdnsd</title><link>https://nagg.eu/centos-dnscrypt-and-pdnsd/</link><pubDate>Sun, 01 Nov 2015 22:40:27 +0000</pubDate><guid>https://nagg.eu/centos-dnscrypt-and-pdnsd/</guid><description>&lt;p&gt;DNSCrypt installation process is pretty simple since it is present in the repository, pdnsd on the other hand is missing, luckily compiling from source is not that hard.&lt;br&gt;
For the sake of completeness I will also cover the procedure to install DNSCrypt from source, alternatively &lt;code&gt;yum install dnscrypt-proxy&lt;/code&gt;.&lt;br&gt;
Install the required dependencies and get the source code:&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;[root@CentOS ~]# yum install gcc libsodium-devel libtool-ltdl-dev git wget
[root@CentOS ~]# git clone https://github.com/jedisct1/dnscrypt-proxy.git
[root@CentOS ~]# wget http://members.home.nl/p.a.rombouts/pdnsd/releases/pdnsd-1.2.9a-par.tar.gz
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="pdnsd"&gt;pdnsd&lt;/h2&gt;
&lt;p&gt;Compile and install:&lt;/p&gt;</description></item><item><title>pdnsd automatic startup Arch Linux</title><link>https://nagg.eu/pdnsd-automatic-startup-arch-linux/</link><pubDate>Sat, 30 Aug 2014 11:01:53 +0000</pubDate><guid>https://nagg.eu/pdnsd-automatic-startup-arch-linux/</guid><description>&lt;p&gt;I have this Arch Linux based ODROID-U3 I use as DLNA server, local web server…etc…and also as local DNS caching server.&lt;br&gt;
For some strange reason &lt;!-- raw HTML omitted --&gt;pdnsd&lt;!-- raw HTML omitted --&gt; doesn&amp;rsquo;t seem to start correctly on Arch Linux.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;[root@server ~]# systemctl status pdnsd -l
● pdnsd.service - proxy name server
 Loaded: loaded (/usr/lib/systemd/system/pdnsd.service; enabled)
 Active: failed (Result: exit-code) since Sat 2000-01-01 20:02:07 CET; 14 years 7 months ago
 Process: 182 ExecStart=/usr/bin/pdnsd (code=exited, status=3)
 Main PID: 182 (code=exited, status=3)

Jan 01 20:02:06 server systemd[1]: Starting proxy name server...
Jan 01 20:02:06 server systemd[1]: Started proxy name server.
Jan 01 20:02:06 server pdnsd[182]: Error in config file (line 11): Failed to get IP address of eth0: Cannot assign requested address
Jan 01 20:02:07 server systemd[1]: pdnsd.service: main process exited, code=exited, status=3/NOTIMPLEMENTED
Jan 01 20:02:07 server systemd[1]: Unit pdnsd.service entered failed state.
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Adding &lt;code&gt;After=network-online.target&lt;/code&gt; and &lt;code&gt;Wants=network-online.target&lt;/code&gt; in the Unit section of the startup script doesn&amp;rsquo;t seem to make any difference.&lt;br&gt;
So far the only workaround which really works is adding the line &lt;code&gt;After=multi-user.target&lt;/code&gt; in the service script.&lt;/p&gt;</description></item></channel></rss>