DNSCurve on Haiku
Date: July 4, 2018
Please also see DNSCurve.io for more DNSCurve information.
dq is a command-line DNS lookup tool that supports DNSCurve. It's easy to build and use on Haiku.
pkgman install wget wget https://mojzis.com/software/dq/dq-20161210.tar.gz tar zxf dq-20161210.tar.gz cd dq-20161210 echo "-lnetwork" > conf-libs echo "/boot/system/non-packaged/bin" > conf-bin echo "/boot/system/non-packaged/documentation/man" > conf-man cp conf-bin conf-sbin make make install
That's it! If your resolv.conf is not yet configured, you should also issue:
echo "nameserver 22.214.171.124" > /etc/resolv.conf
Replace 126.96.36.199 with whatever DNS resolver you prefer.
Try a query like the one in the screenshot below:
dq a example.com dq -a mx dnscurve.io uz5cjwzs6zndm3gtcgzt1j74d0jrjnkm15wv681w6np9t1wy8s91g3.dnscurve.io
Here's a screenshot of what may be the first DNSCurve query sent from Haiku: