Re: DNS Lookup
Re: DNS Lookup
- Subject: Re: DNS Lookup
- From: Mike Abdullah <email@hidden>
- Date: Thu, 15 May 2014 23:05:15 +0100
On 15 May 2014, at 14:15, Appa Rao Mulpuri <email@hidden> 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 level with DNS name as key and array of IP addresses, which will provide the webpage. When ever my application trigger a request to load a embedded web page, it would lookup at the DNS name and pick any of the responding IP address from the map.
>
> Understood, this is kind of Hackers way, looking for some workable APIs. Appreciated any third party libraries are available.
WebKit uses the Cocoa URL loading system. You can register your own custom NSURLProtocol to override and handle URLs in almost any way you like.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
References: | |
| >DNS Lookup (From: Appa Rao Mulpuri <email@hidden>) |