Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
DNS-over-TCP in Windows
11-08-2013, 01:01 AM (This post was last modified: 04-26-2014 10:29 PM by samiam.)
Post: #1
DNS-over-TCP in Windows
I got the following request by email:

Quote:Hello Sam,

The MaraDNS discussion forum at:

http://forum.samiam.org/

seems to be down currently. I'm not able to connect to it.

I wanted to see about trying to post a question on there. I realize you don't answer MaraDNS support emails directly. I've put a good amount of effort into learning to use MaraDNS, and have come across a stumbling block. I was hoping you could point me in the right direction?

I am trying to set up MaraDNS as an authoritative DNS server. I want a backup DNS server because my hosting company's DNS server gets frequent DOS attacks. I will be running it on Windows XP. I have everything up and working, but I'm concerned it doesn't support DNS over TCP. I used the testing tool at dnscheck.pingdom.com, and they report this lack of TCP support as an error. I saw your article about using zoneserver to accomplish this, but zoneserver is not available in the Windows compilation you offer. I'm wondering if I should investigate downloading the source code, and trying to compile zoneserver for Windows, or if you have another suggestion?

Thanks,

DNS over TCP is optional (but recommended) as per section 6.1.3.2 of RFC1123. dnscheck.pingdom.com should regard no DNS-over-TCP as a warning, not an error.

In terms of compiling MaraDNS in Windows, the guidelines in Deadwood's INSTALL.txt document are a good starting point:

Quote:The way I compile this program in Windows 7 is with MinGW-3.4.2 and
MSYS-1.0.10. These programs are available at the following locations:

http://ftp.ftp.trolltech.com/misc/ (MinGW 3.4.2)
http://prdownloads.sourceforge.net/mingw...e?download
http://samiam.org/software (both)

It's better to install MinGW before installing MSYS.

Once MinGW + MSYS are installed, one can make the Windows install of MaraDNS the same way I do by exploding the MaraDNS tarball and running ./configure ; make. Since the CPU fan in my Windows computer bit the dust last week, I can't run the exact command right now, but it looks like this:

Code:
tar xvjf maradns-2.0.07c.tar.bz2
cd maradns-2.0.07c
./configure
make

In terms of compiling the zoneserver, changes to the Makefile might need to be done between the ./configure and the "make" commands above. Using these tools requires familiarity with basic UNIX commands; I don't have the time to hold someone's hand teaching them that stuff.

The "zoneserver" command is in the "tcp/" directory.

Edit One last thing: It's 2013. You shouldn't still be running Windows XP, which will stop being supported on April 8, 2014 (there will be no security upgrades made after that date). Since my Windows 7 laptop is sick, I just upgraded my old Windows XP laptop to run CentOS 6, which is runs very nicely; CentOS 6 is supported until November 30, 2020; CentOS 6 will still be supported when Harrison Ford is a Blade Runner chasing down replicants (the movie is set in 2019), but I will hopefully be running CentOS 7 or 8 by then (I plan to update in 2017).
Visit this user's website Find all posts by this user
Quote this message in a reply
11-28-2013, 10:33 AM
Post: #2
RE: Email support request and answer
I just tried compiling Zoneserver in mingw without success. Porting Zoneserver to be a native Windows binary will take more work than I am willing to volunteer. For people who need Zoneserver in Windows: Download Cygwin.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-26-2014, 10:34 PM (This post was last modified: 04-26-2014 10:37 PM by samiam.)
Post: #3
RE: DNS-over-TCP in Windows
I have finally fixed zoneserver so that it compiles in Cygwin.

To have DNS-over-TCP in Windows:
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)