[MaraDNS list] MaraDNS Recursive question

Sam Trenholme maradns at gmail.com
Fri Nov 25 15:00:12 EST 2011


Make sure you are using Deadwood 3.0.05.  This is available here:

http://maradns.org/deadwood/stable

The .zip file is the Windows binary.

Deadwood 3.0.05 is also available with MaraDNS 2.0.04.  Only use
MaraDNS 1.4.07 (which also has Deadwood 3.0.05) or any other MaraDNS 1
release if you have a compelling reason to use an older release of
MaraDNS.

> I want to forward all dns requests to opendns, except for a certain
> url, which I'd like to relocate.

This is your dwood3rc file:

bind_address="192.168.1.42"
recursive_acl="192.168.1.0/24"
chroot_dir="/etc/maradns"
upstream_servers={}
upstream_servers["."]="208.67.222.222,208.67.220.220"
upstream_servers["google.com."]="8.8.8.8,8.8.4.4"

Replace "192.168.1.42" with the IP of your computer and
"192.168.1.0/24" with the network range which needs to have access to
the Deadwood server.  Replace "google.com" and "8.8.8.8,8.8.4.4" with
the domain you want to go to another DNS server.

If you only need to have Deadwood be accessible from a single computer
with a dynamic IP, have the bind_address be "127.0.0.1" and the
recursive_acl be "127.0.0.0/16".

> To supply the default dns. But the last and recent comment says
> "Upstream_servers no longer supported". Is this true?

No, it is not.  I once had a user who had issues with
upstream_servers, but I ran some tests and confirmed the problem was
not with my program.

>Sometimes maradns just closes and I have no time to read any
> output if any.

Do not use maradns.exe, use deadwood.exe.

deadwood.exe is a service.  It has to be installed as a service.  As
admin, enter the directory Deadwood is in and run the following
commands from a "cmd" prompt:

mkSecretTxt.exe
deadwood.exe --install
net start deadwood

deadwood.exe needs, for security reasons, a source of entropy (a
random file).  This is why we generate a random file called secret.txt
by calling mkSecretTxt.exe before installing Deadwood.

Deadwood will log all errors in the file dwlog.txt.  Look at this file
if Deadwood refuses to start; it will tell you what is wrong.

> Thanks for any and all help!!

MaraDNS development and support is funded for by user contributions;
its business model is the "PBS" business model.  If you can afford to,
please make a modest contribution by making a paypal donation to
abiword_bugs at yahoo.com, or by clicking on the donate button at
http://maradns.org.  Note that mail sent to this email address is not
looked at.

- Sam


More information about the list mailing list