<div dir="ltr">Hi<div>I understand that I need the below snip in my /etc/named.conf </div><div><br></div><div>-----------snip -----------</div><div><br></div><div><br></div><div>
                
        
        
                <div class="" title="Page 14">
                        <div class="">
                                <div class="">
                                        <pre><span style="font-size:10pt;font-family:NimbusMonL">// Two corporate subnets we wish to allow queries from.
acl corpnets { <a href="http://192.168.4.0/24">192.168.4.0/24</a>; <a href="http://192.168.7.0/24">192.168.7.0/24</a>; };
options {
</span></pre>
                                        <pre><span style="font-size:10pt;font-family:NimbusMonL">     // Working directory
     directory "/etc/namedb";
</span></pre>
                                        <pre><span style="font-size:10pt;font-family:NimbusMonL">     allow-query { corpnets; };
</span></pre>
                                        <pre><span style="font-size:10pt;font-family:NimbusMonL">};
// Provide a reverse mapping for the loopback
// address 127.0.0.1
zone "0.0.127.in-addr.arpa" {
</span></pre>
                                        <pre><span style="font-size:10pt;font-family:NimbusMonL">     type master;
     file "localhost.rev";
     notify no;
</span></pre>
                                        <p><span style="font-size:10pt;font-family:NimbusMonL">};</span></p><p><span style="font-size:10pt;font-family:NimbusMonL"><br></span></p><p><span style="font-size:10pt;font-family:NimbusMonL">----------------</span></p><p><font face="NimbusMonL">What else do I need along </font><font face="NimbusMonL">with</font><font face="NimbusMonL"> the above to function as a caching only name server.</font></p><p><font face="NimbusMonL">looks like the default /etc/named.conf is designed to run much more than caching server</font></p><p><font face="NimbusMonL">----------default-------</font></p><p style="margin:0px;font-size:11px;font-family:Menlo">options {</p><p style="margin:0px;font-size:11px;font-family:Menlo">        listen-on port 53 { 127.0.0.1; };</p><p style="margin:0px;font-size:11px;font-family:Menlo">        listen-on-v6 port 53 { ::1; };</p><p style="margin:0px;font-size:11px;font-family:Menlo">        directory       "/var/named";</p><p style="margin:0px;font-size:11px;font-family:Menlo">        dump-file       "/var/named/data/cache_dump.db";</p><p style="margin:0px;font-size:11px;font-family:Menlo">        statistics-file "/var/named/data/named_stats.txt";</p><p style="margin:0px;font-size:11px;font-family:Menlo">        memstatistics-file "/var/named/data/named_mem_stats.txt";</p><p style="margin:0px;font-size:11px;font-family:Menlo">        allow-query     { localhost; };</p><p style="margin:0px;font-size:11px;font-family:Menlo">        recursion yes;</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">        dnssec-enable yes;</p><p style="margin:0px;font-size:11px;font-family:Menlo">        dnssec-validation yes;</p><p style="margin:0px;font-size:11px;font-family:Menlo">        dnssec-lookaside auto;</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">        /* Path to ISC DLV key */</p><p style="margin:0px;font-size:11px;font-family:Menlo">        bindkeys-file "/etc/named.iscdlv.key";</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">        managed-keys-directory "/var/named/dynamic";</p><p style="margin:0px;font-size:11px;font-family:Menlo">};</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">logging {</p><p style="margin:0px;font-size:11px;font-family:Menlo">        channel default_debug {</p><p style="margin:0px;font-size:11px;font-family:Menlo">                file "data/named.run";</p><p style="margin:0px;font-size:11px;font-family:Menlo">                severity dynamic;</p><p style="margin:0px;font-size:11px;font-family:Menlo">        };</p><p style="margin:0px;font-size:11px;font-family:Menlo">};</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">zone "." IN {</p><p style="margin:0px;font-size:11px;font-family:Menlo">        type hint;</p><p style="margin:0px;font-size:11px;font-family:Menlo">        file "<a href="http://named.ca">named.ca</a>";</p><p style="margin:0px;font-size:11px;font-family:Menlo">};</p><p style="margin:0px;font-size:11px;font-family:Menlo;min-height:13px"><br></p><p style="margin:0px;font-size:11px;font-family:Menlo">include "/etc/named.rfc1912.zones";</p><p>
































</p><p style="margin:0px;font-size:11px;font-family:Menlo">include "/etc/named.root.key";</p><div><br></div><p><font face="NimbusMonL">-------------------</font></p><p><span style="font-family:NimbusMonL"><br></span></p><p><span style="font-family:NimbusMonL">also,</span></p><p><span style="font-family:NimbusMonL">Is it possible to have this running in my client machines ?</span></p><p><font face="NimbusMonL"><br></font></p><p><font face="NimbusMonL">Thanks,</font></p><p><font face="NimbusMonL">Vijay </font><br></p>
                                </div>
                        </div>
                </div></div></div>