problem with dig +trace

Remco Rijnders remco at webconquest.com
Fri Sep 18 05:36:21 EDT 2009


On Fri, September 18, 2009 10:58, DNSPod wrote:
> hi all,
>
> I found a problem with recursion
>
> when I try to use dig +trace domain.com, I got a refuse reply
> Sep 18 16:45:42 newhua /usr/local/sbin/maradns:  Log: Message
> received, processing
> Sep 18 16:45:42 newhua /usr/local/sbin/maradns: Query from:
> 61.179.151.106 N.
> Sep 18 16:45:42 newhua /usr/local/sbin/maradns:  Log: Bad query
> received:
> \373\316\000\000\000\001\000\000\000\000\000\000\000\000\002\000\001
> Sep 18 16:45:42 newhua /usr/local/sbin/maradns: From IP: 61.179.151.106
> Sep 18 16:45:42 newhua /usr/local/sbin/maradns:  Log: I'm sorry Dave
> (recurse attempt)
>
> any ideas?

Hi,

You should check that:

1) MaraDNS is compiled as a recursive server (that is the default) and not
as authorative only.

2) That your IP address (61.179.151.106) is allowed to use your server for
recursive queries. Do you have 'recursive_acl' set in your mara
configuration to allow queries from this address? See
http://www.maradns.org/tutorial/man.mararc.html for information on how to
set this.

I think #2 is probably the reason why you see this log message. After
fixing your config, restart maradns and see if you get the desired result.

Kind regards,

Remco Rijnders



More information about the list mailing list