Add DNS resolver to ModeProxy.