• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How SCNetworkReachability works with proxy and no DNS resolving?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How SCNetworkReachability works with proxy and no DNS resolving?


  • Subject: How SCNetworkReachability works with proxy and no DNS resolving?
  • From: Yulia Bensman <email@hidden>
  • Date: Sun, 22 May 2016 15:11:51 +0000
  • Thread-topic: How SCNetworkReachability works with proxy and no DNS resolving?

Dear all,

 

Please help with the following problem:

 

Our app is a client that running on Mac OS X and should connect to server using TCP-based protocol.

We are using SCNetworkReachability (and SCNetworkReachabilityCreateWithName) API to sign up for notifications when the server becomes unreachable. So far it has worked ok.

 

Now the client should work in the environment that is:

a)      protected with proxy.

b)      the DNS server does not make DNS forwarding for external world-wide servers (so, as result of this, for our servers as well).

In such environment our client should connect to the server via proxy, specify the server FQDN name, and the proxy makes DNS resolution for it.

 

The client succeeds to connect, but then SCNetworkReachability sends me notification, that the server is unavailable. We have such a problem in all Mac OS X versions below 10.11 (in 10.11 it works ok, i.e. Reachability API does not complain).

It is a real problem for us, since the client really succeeded to establish connection with server, but cannot rely on Reachability notification.

 

Should the SCNetworkReachability work in such configuration? (I mean should it detect that the host is reachable?).

If it should not work (I can understand that the SCNetworkReachability API requires DNS resolution), but why it does in 10.11?

Is there any configuration to make SCNetworkReachability work in versions below 10.11?

 

Thanks a lot,

Yulia

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How SCNetworkReachability works with proxy and no DNS resolving?
      • From: Jens Alfke <email@hidden>
    • Re: How SCNetworkReachability works with proxy and no DNS resolving?
      • From: Allan Nathanson <email@hidden>
  • Prev by Date: Re: Any included code for IDNA?
  • Next by Date: Re: How SCNetworkReachability works with proxy and no DNS resolving?
  • Previous by thread: Re: Any included code for IDNA?
  • Next by thread: Re: How SCNetworkReachability works with proxy and no DNS resolving?
  • Index(es):
    • Date
    • Thread