Sam Trenholme's webpage
Support this website

MaraDNS Update


April 27 2014

I have updated MaraDNS to have DNS-over-TCP work in Windows.

==MaraDNS update==

For a while now, the "zoneserver" DNS-over-TCP daemon would compile in Windows (as long as Cygwin was installed), but would not run.

I have fixed this bug. It's now possible to have DNS-over-TCP using MaraDNS in Windows.

==Downloading this update==

The patch can be downloaded here:
The snapshot can be downloaded as a tarball (.tar.gz file) here:
==Getting DNS-over-TCP in Windows==

  • Get Cygwin. Be sure to have the gcc compiler.
  • Download the latest MaraDNS snapshot (see link above).
  • Compile it in Cygwin.
  • Read this documentation:
==Why I did this==

Last November, an anonymous user requested to have DNS-over-TCP in the Windows MaraDNS port. Nearly six months later, I finally got this to work.

==MaraDNS timeline==

Unless a security hole is found, updates to MaraDNS are pretty slow. Since I have a six-month-old daughter, and since I am not getting paid to write this code, I have to put MaraDNS on the back burner.

My rough roadmap is to update the random prime generator in Windows. There currently exists a patch by Tobias Frost to give Deadwood a random prime number for its hash compression code. I will probably eventually update this code so that, in Windows, it will use CryptGenRandom() instead of random(), which will give the random prime number guaranteed strong entropy.

To post a comment about this blog entry, go to the forum (self-signed https). New accounts may post once I approve the account.