<!-- Do *not* edit this file; it was automatically generated by ej2html Look for a name.ej file with the same name as this filename --> <!-- Last updated Sat Nov 30 13:52:52 2002 --> <HTML><HEAD> <TITLE>Recursive DNS serving</TITLE> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"> </HEAD><BODY > <i>This document has been placed in the public domain by Sam Trenholme</i> <H1>Using MaraDNS as a recursive DNS server</H1> This document is a step-by-step guide to setting up MaraDNS as a recursive DNS server. It assumes that MaraDNS is already <A href=compile.html>compiled and installed</A>. Once MaraDNS is installed: <UL> <LI>The <tt>mararc</tt>file needs to be changed before MaraDNS will function as a recursive DNS server. <A href=../examples/example_recursive_mararc.txt>Here is a mararc file that will work as a recursive DNS server</A> <LI>If one wishes to limit the range of IPs that can access the recursive DNS server, change the following line: <blockquote><tt>recursive_acl = "<b>0.0.0.0/32</b>"</tt> </blockquote> Replace the <b>0.0.0.0/32</b> with the range of IPs that one wishes to have contact the name server. For example, if one has an office which uses IPs in the form 192.168.1.1, 192.168.1.2, etc., and wishes to have only 192.168.1.<i>any</i> be allowed to make recursive queries: <blockquote> <tt>recursive_acl = "<b>192.168.1.0/24</b>"</tt> </blockquote> <LI>Once this is done, other machines can contact the MaraDNS server to perform DNS queries. For example, MaraDNS is now a DNS server which Windows 98 can use in "Control Panel -> Network -> TCP/IP -> DNS configuration", or a UNIX system can point to from <tt>/etc/resolv.conf</tt>. <LI>More information about using MaraDNS in recursive mode is available from the <A href=man.maradns.html>MaraDNS manual page</A> and the <A href=man.mararc.html>mararc manual page</A>. <LI>If one wishes to have MaraDNS contact other recursive name servers, instead of contacting the actual root servers to process recursive queries, use <tt>upstream_servers</tt> instead of <tt>root_servers</tt>. See the <A href=man.mararc.html>mararc manual page</A> for more details. </UL> </BODY></HTML>