<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40" xmlns:ns0="http://schemas.microsoft.com/office/2004/12/omml" xmlns:ns2="http://www.exclaimer.co.uk">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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]--><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName" /><!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</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;}
p
        {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;}
p
        {mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
p.2d8b867a-877d-4abf-9f71-702c0dd4ea36, li.2d8b867a-877d-4abf-9f71-702c0dd4ea36, div.2d8b867a-877d-4abf-9f71-702c0dd4ea36
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:Calibri;
        color:#1F497D;}
span.EmailStyle22
        {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>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><font size="2" color="navy" face="Arial"><span style="font-size:
10.0pt;font-family:Arial;color:navy">Smile when you say that - I am one of those crusty UNIX Admins.&nbsp;
<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;">
<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:40 PM<br>
<b><span style="font-weight:bold">To:</span></b> <st1:PersonName w:st="on">Atlanta Linux Enthusiasts</st1:PersonName><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [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>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D">Yeah Jeff,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D"><o:p>&nbsp;</o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D">I was started to think that also.&nbsp; I asked a few crusty Unix admins and they gave me a 500 yard stare.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" color="#1f497d" face="Calibri"><span style="font-size:11.0pt;color:#1F497D"><o:p>&nbsp;</o:p></span></font></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<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>Lightner, Jeff<br>
<b><span style="font-weight:bold">Sent:</span></b> Tuesday, November 01, 2011 12:35 PM<br>
<b><span style="font-weight:bold">To:</span></b> <st1:PersonName w:st="on">Atlanta Linux Enthusiasts</st1:PersonName><br>
<b><span style="font-weight:bold">Subject:</span></b> Re: [ale] nsswitch and db option<o:p></o:p></span></font></p>
</div>
</div>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt"><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 don&#8217;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&#8217;d need to implement something like BIND (or maybe TinyDNS which I haven&#8217;t
 worked with) and have it get answers from upstream server.&nbsp;&nbsp; More work than I&#8217;d want to do for most clients.&nbsp;&nbsp; I&#8217;d think if you had a single (or better yet a pair) caching DNS server in your environment and had it in your clients&#8217; /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&#8217;ve never used the db option in nsswitch.conf but based on what little I can glean I don&#8217;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>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></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;">
<hr size="2" width="100%" align="center">
</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&#8217;t find anybody who has ever used that option and google is slim pickens researching it.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">&nbsp;<o:p></o:p></span></font></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 &#8220;hosts:&nbsp; db files dns&#8221; cause the first check to be performed on the dns cache?<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">&nbsp;<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">If NOT what does &#8220;db&#8221; cause to happen?<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">&nbsp;<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">Thanks!<o:p></o:p></span></font></p>
<p class="MsoNormal"><font size="2" face="Calibri"><span style="font-size:11.0pt">&nbsp;<o:p></o:p></span></font></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></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>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><font size="2" color="fuchsia" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:fuchsia">Athena</span></font><font size="1" color="fuchsia" face="Arial"><span style="font-size:7.5pt;font-family:Arial;
color:fuchsia">&reg;</span></font><font size="2" color="fuchsia" face="Arial"><span style="font-size:10.0pt;font-family:Arial;color:fuchsia">,
 Created for the Cause</span></font><font size="1" color="fuchsia" face="Arial"><span style="font-size:7.5pt;font-family:Arial;color:fuchsia">&#8482;
</span></font><o:p></o:p></p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">Making a Difference in the Fight Against Breast Cancer</span></font><o:p></o:p></p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
<p class="2d8b867a-877d-4abf-9f71-702c0dd4ea36"><font size="2" face="Arial"><span style="font-size:10.0pt;font-family:Arial">---------------------------------<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></font><font size="1" face="Courier New"><span style="font-size:9.0pt;font-family:&quot;Courier New&quot;"><o:p></o:p></span></font></p>
<p><font size="3" face="Times New Roman"><span style="font-size:12.0pt">&nbsp;<o:p></o:p></span></font></p>
</div>
</body>
</html>