I want to be able to open a captive screen on an IOS device, when the user enters my DNS number in his network settings.
From what I've seen the iOS device, calls the URL : captive.apple.com . If it received a response, it doesn't open the captive window as it believes the network is working without any limit. However if it isn't able to pull open this URL, it opens the captive portal window.
Remember I don't want a local regular WiFi network with a login . I want to spoof devices when they try to reach my DNS, by blocking all packets.
I just want to open my captive portal splash screen automatically when my DNS is entered.
How can this be done with PHP.