~samiam/MaraDNS

ref: 3.5.0021 MaraDNS/maradns-win32/Cygwin.txt -rw-r--r-- 1.1 KiB
ca00f282 — Sam Trenholme MaraDNS release 3.5.0021 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
== How to run MaraDNS in Cygwin ==

Since MaraDNS no longer includes the authoritative-only maradns.exe 
program, I have made sure MaraDNS can compile and run in Cygwin.

To compile and run MaraDNS:

* Go to https://cygwin.com/ and download and install Cygwin
* When installing Cygwin, be sure to install both "gcc" and "make"
* Get the source code for MaraDNS
* From the MaraDNS-3.5.{version} directory, where {version} is the number
  0005 or higher, type in the following commands from the Cygwin command
  prompt:

	./configure ; make ; make install
	cygrunsrv.exe --install MaraDNS --path /usr/local/bin/maradns.exe
	cygrunsrv.exe -S MaraDNS

* MaraDNS now runs as a service.  One may edit /etc/mararc (e.g.
  C:\Cygwin64\etc\mararc as seen from Windows) and the files in
  /etc/maradns to add or remove zones from MaraDNS.

Note that Deadwood remains a native Windows service, and there are no
plans to change that.  This change affects *only* the old native build
of MaraDNS (which, unlike Deadwood, was never made a proper Windows
service, and had Y2038 issues).