Closed Bug 489422 Opened 15 years ago Closed 14 years ago

Ability to resolve DNS names through different SOCKS servers

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ericjung, Unassigned)

Details

network.proxy.socks_remote_dns allows for the ability toresolve DNS names through a SOCKS server.

Rather than always resolving through the SOCKS server, please consider adding
an interface, similar to nsIProtocolProxyFilter, that would enable extensions
and other clients to dynamically determine whether to resolve a given domain
through a proxy or not, and through which proxy.

The interface's signature could be, for example:

nsIProxyInfo applyFilter(in nsIURI aURI, in nsIProxyInfo aProxy)

with a corresponding interface for registering/unregistering filters (like
nsIProtocolProxyService.registerFilter() and
nsIProtocolProxyService.unregisterFilter()).
This is already handled by nsIProtocolProxyFilter.applyFilter. Just conditionally return a nsIProxyInfo instance with the 4th argument true/false.

Closing as RESOLVED - WONTFIX.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.