These domains are checked by the operating systems when connecting via wifi, and if they don't get the response they expect, they may try to open a wifi login page or similar as they believe they are located behind a captive portal.
captive.apple.com gsp1.apple.com www.apple.com www.appleiphonecell.com