I have setup the vanilla maradns service and almost got it working but i am missing one thing i think, plz take a look.
/var/log/messages:
Sep 2 06:32:13 localhost /usr/local/sbin/maradns: Filename: db.example.net
Sep 2 06:32:13 localhost /usr/local/sbin/maradns: MaraDNS proudly serves you 21 DNS records
Sep 2 06:32:13 localhost /usr/local/sbin/maradns: MaraDNS maximum memory allocation set to 2653696 bytes
Sep 2 06:32:13 localhost /usr/local/sbin/maradns: Log: All RRs have been loaded
$ sudo netstat -anup
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
udp 0 0 127.0.0.1:323 0.0.0.0:* 530/chronyd
udp 0 0 127.0.0.1:53 0.0.0.0:* 24610/maradns
udp6 0 0 ::1:323 :::* 530/chronyd
$ askmara Awww.example.com.
Querying the server with the IP 127.0.0.1
Remote server said: REFUSED
NS replies:
AR replies:
dig @127.0.0.1 example.com ANY
; <<>> DiG 9.9.4-RedHat-9.9.4-29.el7_2.3 <<>> @127.0.0.1 example.com ANY
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 46831
;; flags: qr rd; QUERY: 0, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
Here is the config /etc/mararc:
ipv4_bind_addresses = "127.0.0.1" chroot_dir = "/etc/maradns" csv2 = {} csv2["example.net."] = "db.example.net"
Running centos7, Maradns: 2.0.11, dig: DiG 9.9.4-RedHat-9.9.4-29.el7_2.3 , on amazon-ec2. Also not setting up recursive server just authoritative dns server. I don't want to setup recursive, if not necessary. plz gurus, im lost...