From:  Patrick McManus <mcmanus@ducksong.com>
Date:  19 Feb 2014 23:31:38 Hong Kong Time
Newsgroup:  news.mozilla.org/mozilla.dev.tech.network
Subject:  

Re: DNS Request Routing

NNTP-Posting-Host:  63.245.216.66

On Wed, Feb 19, 2014 at 10:13 AM, Mina Nagy Zaki  wrote:

> So would it be possible to write an extension with a custom DNS
> service component and register it to override the builtin
> nsIDNSService?
>

should be. never seen it done.


> Can this be done in JS or should it be done in C++? Would it be
> advisable to do it in C++?
>
>
the idl will let you do either. I'm not really certain whether or not you
will find the other JS libraries sufficient to the implementation in JS or
not. Make sure not to block the main thread.


>