3 Replies
      Latest reply on May 17, 2018 12:06 AM by eskimo
      Asieiev Level 1 Level 1 (0 points)

        Is it possible to flush DNS cache on iOS?

        I'm using NEDNSProxyProvider for redirecting traffic to our DNS server. But when I am changing our DNS server address to OpenDNS method handleNewFlow(_:)  doesn't called on previously visited sites.

        • Re: Flush DNS cache on iOS
          eskimo Apple Staff Apple Staff (8,895 points)

          Is it possible to flush DNS cache on iOS?

          There is no specific API to flush the DNS cache.

          I'm using NEDNSProxyProvider for redirecting traffic to our DNS server. But when I am changing our DNS server address to OpenDNS method handleNewFlow(_:)  doesn't called on previously visited sites.

          Can you walk me through this scenario in more detail?

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"

            • Re: Flush DNS cache on iOS
              Asieiev Level 1 Level 1 (0 points)

              NEDNSProxyProvider started -> opened "example.com" in Safari -> called handleNewFlow(_:)

               

              handleNewFlow(_:) will not be called if I'll try to open web page again.

                • Re: Flush DNS cache on iOS
                  eskimo Apple Staff Apple Staff (8,895 points)

                  I’m sorry I wasn’t clear.  I’m looking for information as to why your setup requires you to flush the DNS cache.  How are entries getting cached such that they need to be invalidated?

                  Share and Enjoy

                  Quinn “The Eskimo!”
                  Apple Developer Relations, Developer Technical Support, Core OS/Hardware
                  let myEmail = "eskimo" + "1" + "@apple.com"