Unresovlable Web Proxy DNS requests
We have a publically accessible network (eg wireless web cafe) where people can plug in there laptops wirless/lan and purchase time to use the internet.
However, where the customers browser has a manual proxy setting set to an internal domain name (one that is unresolvable on the internet eg proxy.test.wrong) they are returned with the "Page cannot be displayed" as the dns request does not return an ip address.
We would a way to either:
return the ip address of our proxy (Squid),
override their proxy settings with ours,
redirect them to our internal portal page
Anyone have any ideas on how this could be achieved, we are running, apache, bind, squid, rh7.0 (2.2 kernel with ipchains)