<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40" xmlns:ns2="http://www.exclaimer.co.uk">
<head>
<!-- Template generated by Exclaimer Mail Disclaimers on 12:34:46 Tuesday, 1 November 2011 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">P.2d8b867a-877d-4abf-9f71-702c0dd4ea36 {
        MARGIN: 0cm 0cm 0pt
}
LI.2d8b867a-877d-4abf-9f71-702c0dd4ea36 {
        MARGIN: 0cm 0cm 0pt
}
DIV.2d8b867a-877d-4abf-9f71-702c0dd4ea36 {
        MARGIN: 0cm 0cm 0pt
}
TABLE.2d8b867a-877d-4abf-9f71-702c0dd4ea36Table {
        MARGIN: 0cm 0cm 0pt
}
DIV.Section1 {
        page: Section1
}
</style>
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}

 /* Font Definitions */
 @font-face
        {font-family:Courier;
        panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <u1:shapedefaults u2:ext="edit" spidmax="1026"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <u3:shapelayout u4:ext="edit">
  <u3:idmap u4:ext="edit" data="1"/>
 </u3:shapelayout>
</xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"></p>
<div class="Section1">
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">I don’t think the stub resolver on Linux does any caching of its own.&nbsp;&nbsp; That seems to be born out by this page which mentions that some
 newer Windows stub resolvers do:<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><a href="http://www.zytrax.com/books/dns/apa/resolver.html">http://www.zytrax.com/books/dns/apa/resolver.html</a><o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">So it seems if you wanted cache at client level on Linux you’d need to implement something like BIND (or maybe TinyDNS which I haven’t
 worked with) and have it get answers from upstream server.&nbsp;&nbsp; More work than I’d want to do for most clients.&nbsp;&nbsp; I’d think if you had a single (or better yet a pair) caching DNS server in your environment and had it in your clients’ /etc/resolv.conf that the
 lookups should be quick enough for most purposes without needing to cache at client level.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">I’ve never used the db option in nsswitch.conf but based on what little I can glean I don’t think it is for hosts but rather for things
 like passwd, groups and shadow.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy"><o:p>&nbsp;</o:p></span></font></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;"></span></font></div>
</div>
</div>
<p></p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36">&nbsp;</p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36">&nbsp;</p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"></p>
<div class="Section1">
<div>
<div class="MsoNormal" align="center" style="text-align:center"><font size="3" face="Times New Roman"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;">
<hr size="2" width="100%" align="center" tabindex="-1">
</span></font></div>
<p class="MsoNormal"><b><font size="2" face="Tahoma"><span style="font-size:10.0pt;
font-family:Tahoma;font-weight:bold">From:</span></font></b><font size="2" face="Tahoma"><span style="font-size:10.0pt;font-family:Tahoma"> ale-bounces@ale.org [mailto:ale-bounces@ale.org]
<b><span style="font-weight:bold">On Behalf Of </span></b>Chesser.Damon<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, November 01, 2011 12:03 PM<br>
<b><span style="font-weight:bold">To:</span></b> ale@ale.org<br>
<b><span style="font-weight:bold">Subject:</span></b> [ale] nsswitch and db option</span></font><font size="3" face="Times New Roman"><span style="font-size:
12.0pt;font-family:&quot;Times New Roman&quot;"><o:p></o:p></span></font></p>
</div>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><o:p>&nbsp;</o:p></span></font></p>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">I am trying to research the db option in nsswitch (as in: hosts: &nbsp;db files &nbsp;dns ).&nbsp; We figure if a Linux client can use the dns cache for lookups, that would be faster then files
 or dns.&nbsp; However, I can’t find anybody who has ever used that option and google is slim pickens researching it.<o:p></o:p></span></font><u5:p></u5:p></p>
<p class="MsoNormal"><u5:p><font size="2" face="Calibri"><span style="font-size:11.0pt">&nbsp;<o:p></o:p></span></font></u5:p></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">How do you access the (Linux) client dns cache info? Would “hosts:&nbsp; db files dns” cause the first check to be performed on the dns cache?<o:p></o:p></span></font><u5:p></u5:p></p>
<p class="MsoNormal"><u5:p><font size="2" face="Calibri"><span style="font-size:11.0pt">&nbsp;<o:p></o:p></span></font></u5:p></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">If NOT what does “db” cause to happen?<o:p></o:p></span></font><u5:p></u5:p></p>
<p class="MsoNormal"><u5:p><font size="2" face="Calibri"><span style="font-size:11.0pt">&nbsp;<o:p></o:p></span></font></u5:p></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">Thanks!<o:p></o:p></span></font><u5:p></u5:p></p>
<p class="MsoNormal"><u5:p><font size="2" face="Calibri"><span style="font-size:11.0pt">&nbsp;<o:p></o:p></span></font></u5:p></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">Damon.chesser@suntrust.com<o:p></o:p></span></font><u5:p></u5:p></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt;font-family:&quot;Times New Roman&quot;">&nbsp;</span></font><font size="3" face="Courier"><span style="font-size:12.0pt;font-family:Courier">
<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Courier"><span style="font-size:12.0pt;
font-family:Courier">&nbsp;<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Courier"><span style="font-size:12.0pt;
font-family:Courier">&nbsp;<o:p></o:p></span></font></p>
</div>
<div>
<p class="MsoNormal"><font size="3" face="Times New Roman"><span style="font-size:
12.0pt;font-family:&quot;Times New Roman&quot;">LEGAL DISCLAIMER<br>
The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information
 by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer.<br>
&nbsp;<br>
SunTrust is a federally registered service mark of SunTrust Banks, Inc. Live Solid. Bank Solid. is a service mark of SunTrust Banks, Inc.<br>
[ST:XCL]</span></font><font size="3" face="Courier"><span style="font-size:12.0pt;
font-family:Courier">
<o:p></o:p></span></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p></p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><font face="Arial"><font color="fuchsia"><font style="FONT-FAMILY: Arial; FONT-SIZE: 10pt" size="2"></font></font></font>&nbsp;</p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36">&nbsp;</p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><font face="Arial"><font color="fuchsia"><font style="FONT-FAMILY: Arial; FONT-SIZE: 10pt" size="2">Athena<font size="1">®</font>, Created for the Cause</font><font size="1">™
</font></font></font></p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><font size="2" face="Arial">Making a Difference in the Fight Against Breast Cancer</font></p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><span style="FONT-FAMILY: Arial; FONT-SIZE: 10pt"></span>&nbsp;</p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><span style="FONT-FAMILY: Arial; FONT-SIZE: 10pt">---------------------------------<br>
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential information and is for the sole use of the intended recipient(s). If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information
 is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.<br>
----------------------------------</span><span style="FONT-FAMILY: 'Courier New'; FONT-SIZE: 9pt"><o:p></o:p></span></p>
<p>&nbsp;</p>
</body>
</html>