I am experiencing a strange behavior w.r.t DNS resolution when connected to certain WiFi networks. (only on iOS devices)
Issue is: Safari is able to resolve my domain name correctly but sometimes for almost 2 minutes it is not able to resolve and throws a page not found error. This happens say once in a couple of hours.
If I enter my ip address in Safari it works. At the same time the domain resolution works fine on android devices.
One Fix is: By default the DNS queries go to my ISP DNS, Now if i change the DNS settings to point to Google or OpenDNS or another popular DNS server the issue disappears. (but i can't use this solution for my usecase since i can't ask all my users to change their DNS settings).
The Android device is also in the same network and points to my ISP DNS, but for some reason with android the issue does not exist.
It seems to be problem with only Safari/iOS and my ISP DNS servers. Has someone faced a similar issue? Anything i can tryout?
P.S. I am using AWS instance and Route53 for DNS Service.