My iPad's 3G connection usually gets hijacked and shows me my provider's welcome page every time I first browse the internet. I have noticed that this only happens when using HTTP, and pages that use HTTPS or any other protocol will be retrieved without any problems.
At first I suspected that my provider simply sniffs my request to determine if it's HTTP, and if it is, it sends my iPad a custom HTTP response that redirects it to that annoying page. I have no way of verifying this, though, because there's no way to change the DNS resolver for a 3G connection or to inspect the HTTP response headers.
Today I investigated a bit more and saw some users discussing this on a forum. One of them sustained that the provider is indeed hijacking the HTTP request as it only happens when using that protocol, and another one would say that it's not actually what's going on, and the provider is actually just manipulating the DNS response. The other user confirmed that when he changed his DNS settings and the page stopped appearing for him.
This prompted a question for me. Does a DNS resolver somehow know what protocol I'm using?
Is there any other way this could be happening? Or is what I read on that forum actually false?