[MaraDNS list] MaraDNS authoritative and recursive config issue

Sam Trenholme strenholme.usenet at gmail.com
Tue Aug 23 15:17:01 EDT 2011


> I got the MaraDNS-2-0-03 files and the Deadwood subfolder
[...]
>    upstream_servers = {}
>    upstream_servers["."] = "192.168.152.5, 192.168.152.8, 192.168.210.33"

upstream_servers doesn't work in MaraDNS 2.0; the maradns daemon in
MaraDNS 2.0 *only* returns data from zone files.

> *   askmara Awww.google.com.
>
> I get a "REFUSED" answer.

When you want to resolve a query which you are not in control of, such
as "maradns.org" or "google.com", Deadwood is the program to use.

> I've also tried to configure the Deadwood service (correctly installed and started as
> Windows service) setting it in a way compatible with the MaraDNS service (e.g.
> allocating it on my intranet IP address 192.168.152.67 while MaraDNS is allocated
> on 127.0.0.1 so that they don't conmflict on the same UDP port), but with no useful
> result.

Deadwood will only do recursive (or upstream) queries; MaraDNS will
only do authoritative queries.

> This is my dwood3rc.txt config:
>    upstream_servers = {}
>    upstream_servers["."] = "192.168.152.5, 192.168.152.8, 192.168.210.33"
>    root_servers = {}
>    root_servers["example.org."] = "127.0.0.1"

While I believe complex setups with both root_servers and
upstream_servers are set are possible, they haven't been tested in
Deadwood.  Try using upstream_servers["example.org."] = "127.0.0.1"
instead of root_servers and see if that resolves your issue (since the
server at 127.0.0.1 is MaraDNS 2.0, there is no condition whatsoever
that will result in the reply causing a query loop).

>    bind_address="192.168.152.67"

bind_address="0.0.0.0" works if you just want to use every IP your
computer happens to have.

Anyway, you may or may not have found a bug.  I will work with you on
the list to see if the issue is a configuration (or documentation)
issue or an honest-to-God bug in Deadwood.  If we do determine it is a
bug, the next day I have scheduled for working on Deadwood is
September 5; I already have an issue with upstream_servers that
returns a SERVER FAIL to fix. If this issue is important enough that
it needs to be fixed more quickly, I'm willing to talk if there's
money on the table.

- Sam


More information about the list mailing list