<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sun, Jan 4, 2015 at 11:49 AM, Michael Crawford <span dir="ltr">&lt;<a href="mailto:mdcrawford@gmail.com" target="_blank">mdcrawford@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1o7" class="a3s" style="overflow:hidden">DNS is a protocol, not an API.  To the extent that hosts is used, it&#39;s<br>
because developer of the software that implements the protocol chooses<br>
to use it.</div></blockquote></div><br>That would be why I mentioned BSD API (used by most command line utilities) and Cocoa API (used by GUI stuff, or more generally anything using Apple&#39;s Foundation framework). While the BSD API does sit underneath Foundation, Cocoa APIs don&#39;t always simply wrap the BSD API.<br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div></div>