MaraDNS acts as both a recursive and an authoritative DNS server. In other words, MaraDNS can both be used to speed up the internet, and/or serve domains that you may have.
To try out MaraDNS as a recursive nameserver is easy:
Here is a sample mararc file:
ipv4_bind_addresses = "127.0.0.1" chroot_dir = "/etc/maradns" recursive_acl = "127.0.0.1"This mararc file says that MaraDNS will have the ip "127.0.0.1" (this is the bind_address), run from the directory /etc/maradns (the chroot_dir value), and only allow the ip "127.0.0.1" to make recursive queries (the recursive_acl value).
Since MaraDNS needs to bind to a privileged port (port 53), it needs to start up running as root. MaraDNS is designed with security in mind, and will drop root privileges before being visible to the public internet./usr/local/sbin/maradns
dig @127.0.0.1 www.yahoo.com
mkdir /etc/maradns/logger
duende is a tool that daemonizes maradns; the daemonizer is a separate program./usr/local/sbin/duende /usr/local/sbin/maradns
make install
It is also possible to set up MaraDNS as both an authoritative and recursive name server with the same IP:
ipv4_bind_addresses = "127.0.0.1" chroot_dir = "/etc/maradns" recursive_acl = "127.0.0.1" csv2 = {} csv2["example.com."] = "db.example.com"
example.com. 10.1.2.3(Yes, experienced DNS admins, you can have SOA, NS, MX, SRV, and any other kind of DNS data stored in a csv2 zone file. Read the csv2 man page for details)