Re: Bypass Network System Preferences for DNS lookup

2010-07-02 Thread Jens Alfke
On Jul 2, 2010, at 3:54 PM, Michael Jackson wrote: > I would simply like > to make my app always query the same set of DNS servers for > speed/security reasons. This shouldn't be a shocker to anyone who has > ever worked on high security applications. Understandable. Just be aware that (a) your

Re: Bypass Network System Preferences for DNS lookup

2010-07-02 Thread Michael Jackson
It should be possible using the dynamic store of the System Configuration framework. http://developer.apple.com/mac/library/documentation/Networking/Conceptual/SystemConfigFrameworks/SC_Components/SC_Components.html#//apple_ref/doc/uid/TP40001065-CH207-CHDDDCHG The documentation says that this st

Re: Bypass Network System Preferences for DNS lookup

2010-07-02 Thread Jean-Daniel Dupas
Le 2 juil. 2010 à 19:33, Jens Alfke a écrit : > > On Jul 1, 2010, at 7:42 PM, Michael Jackson wrote: > >> Is there any way to bypass the system network preferences for DNS >> servers to perform all DNS lookups from within a Cocoa app? For >> example, I would like my app to always make DNS queri

Re: Bypass Network System Preferences for DNS lookup

2010-07-02 Thread Paul Sanders
On Jul 1, 2010, at 9:42 PM, Michael Jackson wrote: > Is there any way to bypass the system network preferences for DNS > servers to perform all DNS lookups from within a Cocoa app? For > example, I would like my app to always make DNS queries to a > particular pair of DNS servers. As a starting p

Re: Bypass Network System Preferences for DNS lookup

2010-07-02 Thread John Joyce
On Jul 1, 2010, at 9:42 PM, Michael Jackson wrote: > Is there any way to bypass the system network preferences for DNS > servers to perform all DNS lookups from within a Cocoa app? For > example, I would like my app to always make DNS queries to a > particular pair of DNS servers. > > -- > Micha

Re: Bypass Network System Preferences for DNS lookup

2010-07-02 Thread Todd Heberlein
> Afaik, no. Why would you do that? I don't know about the original sender's reason, but DNS servers are often the initial target of attacks. Then when you go to, say www.nike.com, the DNS server sends you the IP address of a malicious site. That site infects your browser, then redirects you to

Re: Bypass Network System Preferences for DNS lookup

2010-07-02 Thread Jens Alfke
On Jul 1, 2010, at 7:42 PM, Michael Jackson wrote: > Is there any way to bypass the system network preferences for DNS > servers to perform all DNS lookups from within a Cocoa app? For > example, I would like my app to always make DNS queries to a > particular pair of DNS servers. I’m pretty sur

Re: Bypass Network System Preferences for DNS lookup

2010-07-02 Thread vincent habchi
Afaik, no. Why would you do that? Sent from my iPhone4 ___ 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/Uns