Hello, I recently installed the maradns package and I'm running into a problem here. maradns starts up without any noticable errors on stdout or syslog. The process is running and there is a listening udp-port on *:53.
Unfortunately I don't get any answers from the DNS. If I query for an A-RR from a remote host using "dig" I get the following:
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 28997
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
So, since I get an answer (at least the SOA-RR) and no errors, I assume maradns is running properly but fails to accept the zone-files. Are there any additional debug-options available to see what actually happens during startup, like loading zones and stuff?
Another strange thing I noticed is with the askmara utility: If I use it on the server running maradns to query the local DNS I get:
# Querying the server with the IP 172.20.1.254
# Hard Error: Timeout
This seems a little strange, since "dig" running on another host does not experience timeouts, see 1st quote above.
Regarding firewalls: Since this is a common cause for timeouts,I also investigated along this line: I do run portforwarding on udp+tcp:53 using /etc/firewall.user. But the prerouting/DNAT rule is bound to the external interface only, using "-i $WAN" so it shouldn't interfere in this case. Also, with dnsmasq I don't experience any problems, so I thinks it not a problem with iptables.
I'm running out of ideas here, any input or hint to further debugging is very much appreciated!
TIA, Marcus