DNS Lookup

2014-05-15 Thread Appa Rao Mulpuri
Hi List, In Webkit, do we have any provision to provide application level DNS lookup map to route the particular URLs to a IP address? Similar like /private/etc/hosts file, trying to maintain a map at application level with DNS name as key and array of IP addresses, which will provide

Re: DNS Lookup

2014-05-15 Thread Mike Abdullah
On 15 May 2014, at 14:15, Appa Rao Mulpuri appar...@ivycomptech.com wrote: Hi List, In Webkit, do we have any provision to provide application level DNS lookup map to route the particular URLs to a IP address? Similar like /private/etc/hosts file, trying to maintain a map at application

Bypass Network System Preferences for DNS lookup

2010-07-02 Thread Michael Jackson
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. -- Michael Jackson http://mjijackson.com @mjijackson

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

Re: Bypass Network System Preferences for DNS lookup

2010-07-02 Thread Jens Alfke
that’s not directly possible, since DNS lookups are done by a shared daemon process, not by individual apps. What you could do is incorporate direct DNS-lookup code into your app (I’m sure there are open-source libraries for it), use that to resolve the hostname to an IP address, and then use

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 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. -- Michael

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

Re: Bypass Network System Preferences for DNS lookup

2010-07-02 Thread Jean-Daniel Dupas
to a particular pair of DNS servers. I’m pretty sure that’s not directly possible, since DNS lookups are done by a shared daemon process, not by individual apps. What you could do is incorporate direct DNS-lookup code into your app (I’m sure there are open-source libraries for it), use

Re: Bypass Network System Preferences for DNS lookup

2010-07-02 Thread Michael Jackson
not directly possible, since DNS lookups are done by a shared daemon process, not by individual apps. What you could do is incorporate direct DNS-lookup code into your app (I’m sure there are open-source libraries for it), use that to resolve the hostname to an IP address, and then use that IP address

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