Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using apple resolver libraries



On May 9, 2004, at 23:10, Andrew White wrote:

Apple uses a special resolver / DNS client selection routine, as specified by resolver(5). Can someone point me at:

(1) Source code. I have libinfo, but it's rather opaque to cursory examination.

Perhaps resolver isn't what you want. Name resolution (except for programs like 'nslookup' and 'dig') occurs in lookupd. That is where the action is. The resolver library calls used by most programs just hand off the request to lookupd, which does its 'strategy' thing.

The "real" resolver code, along with that for "lookupd", lives in the netinfo project. I'm not sure where the resolver stub code lives.

(2) Documentation on how it works "inside".

Nope; don't know of any, beyond the man pages (which are pretty good and getting better), folklore, and the archives. Start with 'man lookupd'.

(3) Diffs from FreeBSD, or wherever the original base code came from.

Ha! The original code base is NeXTStep/OpenStep, and I don't know that the diffs would do you much good (if, indeed, they exist).

What are you after?

Cheers,

Justin

--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics | If you're not confused,
| You're not paying attention
*--------------------------------------*-------------------------------*
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.


References: 
 >Using apple resolver libraries (From: Andrew White <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.