On 14 Jun 2016, at 15:13, Michael Nickerson <darkshado...@me.com> wrote:
> 
>> On Jun 14, 2016, at 5:11 AM, Rick Mann <rm...@latencyzero.com> wrote:
>> 
>> Just now Safari stopped being able to load facbook.com. So did Chrome. Both 
>> reported DNS failures.
>> 
>> But dig on the command line, and curl, both succeed.
>> 
>> How are these two domains different?
> 
> Safari and other apps are using the frameworks to resolve DNS (which, I 
> believe, is ultimately done via mDNSResponder, but I could be wrong on that 
> one),

You’re correct.  It does use mDNSResponder (you can actually see the code on 
Apple’s Open Source site).

> while command line programs are using lower level calls that query the DNS 
> server directly.

dig does its own DNS protocol over ordinary sockets.  curl uses c-ares, an open 
source DNS library.

Kind regards,

Alastair.

--
http://alastairs-place.net


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to