7 ms·
Alarming number of DNS requests made by iOS devices
- yeukhon 9y agoPerhaps not really that big a deal, but the first consequence I can think of is draining battery...
- natch 9y agoWell the author sort of neglected to state whether the device was charging at the time, which makes a difference. No doubt it wasn’t always charging but it would be fair to clarify when it was. The OS has some activities like checking for updates that it is more likely to do if tethered to power. Also some of the activity can be related to measures that actually save power. For example, before attempting to do a heavy download of data provided by apps that implement background data downloading, it makes sense to first check the quality of the network connection. I’d suggest everyone just chill and realize there can be good reasons for things, not just bad reasons. And consider the possibility that Apple is not stupid when it comes to power management.
- jey 9y agoAre you sure it's not just a bunch of app store updates and an iCloud backup? That's what I'd expect my phone to be doing at 4am anyway.
- hvtuananh 9y agoI run a pi-hole instance at home and observe the same thing. Most DNS requests come from my iOS devices.
- coin 9y agoThat animated banner at the top of https://databuster.net https://databuster.net is a perfect example of what not to do on a website
- finnn 9y agoIs there something in particular that's wrong with it? It seemed fine to me.
- freehunter 9y agoYou must be seeing something different than I am. I don't see anything animated on that page, with no ad or content blockers running.
- bradknowles 9y agoYes, iOS does talk a lot to the Apple servers, and apple makes heavy use of Akamai for CDN purposes. If you set your iOS device to auto-update overnight, that will typically happen between 3am and 5am. They even tell you that when they set the schedule.
- stanlarroque 9y agoI disabled all that, and background app refresh as well. I am getting a huge database of these logs because of my users. Maybe someone can help me investigate because there is definitely something going on. Here is a preview: https://stan.sh/images/log-example.png https://stan.sh/images/log-example.png
- AdamJacobMuller 9y ago"something" going on? like, the manufacturer of a device who provides cloud services with that device is speaking to their servers to provide services that the customer wants? Very alarming.
- stanlarroque 9y agoI understand iCloud, iTunes, and all other apple services need to communicate with their servers. My point is to question why do they need more than 1000 hosts for their endpoints? It only look suspicious in my eyes. https://stan.sh/images/ios_domains.csv https://stan.sh/images/ios_domains.csv
- flotillo 9y agoWhy is it suspicious? I don't see your reasoning here. Having a diverse range of DNS names requested doesn't seem to me to be an indicator of suspiciousness. On earlier releases of iOS that had a public jailbreak released, I spent quite some time using HttPeek (https://github.com/Yonsm/HttPeek https://github.com/Yonsm/HttPeek) to examine what various OS processes were sending, and found nothing untoward. I'd be surprised if this had changed for the worse in more recent iOS releases.
- cbanek 9y agoSince you're blocking some DNS requests, do you think a portion of the usage might be retries? If one DNS request could turn into querying all the addresses in your list, I could see an amplification attack happening, and then that happening also on a retry. Look for patterns in querying the individual names?
- stanlarroque 9y agoI do not block these requests. However I am pretty sure Apple does some DNS tunneling. Also, some iOS specific requests happen when there is no other DNS activity at all.
- cbanek 9y ago> However I am pretty sure Apple does some DNS tunneling. That seems very reasonable. It would be better than hardcoding IP addresses and safer than straight DNS for management things. Maybe their implementation of that doesn't have a very long TTL?
- feelin_googley 9y agoI have been logging, redirecting and blocking these queries for these domains and more for years. It is one of our biggest complaints about the "new" Apple. There is no option for the user to disable the nonstop phoning home. iOS is a BSD-like OS configured so that the user does not fully control it (e.g. can't stop someone else's software from incessantly trying to phone home). The user cannot fully configure it (e.g., can't access HOSTS file). Only Apple can (they get root and they do not even own the device). Important settings are placed off limits to the owners of these devices. This is no fun. Turn on an iOS device and it will keep trying to connect to Apple servers; it will not stop. An incredible tracking device if those servers keep logs, irrespective of Apple's reasoning. Not to mention lots of unnecessary network chatter on the home network. Clarification: After many years of desensitization to this practice since the first iPhone, it is neither "a secret" nor "scandalous", but it is still disappointing. Moreover, I am not advocating any other mobile OS simply by making a comment about iOS. In fact, none of the "smartphones" being sold today are satisfactory to me as portable computers when compared with the control I get using an open source OS with i386, amd64 or even a development board.
- scarface74 9y agoAs opposed to "we are open Android" but everything that most people define as Android includes closed source Google Play Services and proprietary drivers?
- saurik 9y agoThe comment you are responding to explicitly says no alternatives are good and disclaimed any idea that they were telling people to use something different. They shouldn't have had to make that disclaimer, but apparently it didn't even work.
- freehunter 9y agoDepending on when scarface replied, that last paragraph did not exist in the original post.
- 9y ago
- freehunter 9y agoWhat exactly makes this "alarming"? I could understand "large" or maybe even "unexpected", but if this is background noise, I'm not sure "alarming" really fits here unless we're sure this is bad behavior.
- transverse 9y agoIt is far from background noise. It is apparently constantly sending data to Apple. The device is therefore allegedly spyware on a huge scale. Since you had to ask, please contact your nearest care facility to investigate a dementia diagnosis.
- dang 9y agoWe've banned this account for violating the site guidelines. https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- domoritz 9y agoI also have a DNS logger and I found that iOS makes a lot of requests to time-ios.apple.com. That one isn't really alarming, though.
- TazeTSchnitzel 9y agoHmm. Can’t it just rely on the mobile network? I suppose Apple trust their own time servers more.
- toast0 9y agoSome mobile networks do a decent job of providing the time, some do a poor job, and some don't provide time at all (saw this when I was overseas). I would accept the time from the mobile network as a starting point, but prefer to get it from IP networks I trust, or from global positioning.
- Spivak 9y agoIs is if your you want your alarms to sound on time.
- freehunter 9y agoI'm still amazed that computers are so terrible at telling reliable time without connecting to a network constantly. I've seen computers with a fully-functional CMOS battery lose 5 minutes a month without a network connection. Mind blowing.
- LeoPanthera 9y agoThat is surprising, so surprising that I have to assume the computer in question was running some kind of misbehaving ntpd that was skewing the clock. A good quality quartz crystal is accurate to about 15 seconds a month. Even the cheap ones can manage 30 seconds a month.
- freehunter 9y agoMy car loses about 3 minutes per month, and it has no ability to query NTP. Oddly enough my SUV gains about a minute per month.
- stanlarroque 9y agoUPDATE: I updated my article with a more recent graph with more devices connected. Here is a quick CSV export of all the concerned hosts (subdomain + domain) I could pick from my database. https://stan.sh/images/ios_domains.csv https://stan.sh/images/ios_domains.csv I really want the story behind pancake.g.aaplimg.com
- natch 9y agoYes it’s a cloud connected device, it is going to connect to the cloud. I don’t see why you are surprised. If you think there is an issue, instead of breathlessly declaring you’ve discovered a disturbing pattern in a system you couldn’t possibly have an informed perspective on, the correct way to handle it is to file a radar at https://bugreport.apple.com/ https://bugreport.apple.com/ then come back here tell us your radar number so we can dupe it and add any of our own data that might help with the (perceived, in this case, I would say) issue.
- kirb 9y agoSome quick explanations of non-obvious ones: mesu, su: software update pancake: looks like home sharing? https://stackoverflow.com/questions/26900625/what-is-pancake-apple-com https://stackoverflow.com/questions/26900625/what-is-pancake... phobos, mzstatic: App/iTunes store, possibly also Apple Music apptrailers: App Store app demo videos? streamingaudio: Apple Music? iphonesubmissions, radarsubmissions: crash report upload guzzoni: Siri appldwnld: firmware downloads gs: firmware signature generator/verifier albert: device activation ckdatabase, ckdevice: CloudKit, like iCloud 2.0 keyvalueservice: old iCloud sync service, still used with text shortcuts sync fmf: Find My Friends fmip: Find My iPhone All in all just looks normal, there's a lot of features in iOS/macOS/iTunes etc etc and they all have their own respective hostnames, possibly many for old school random-hostname-based load balancing, etc. Seems pretty normal that your users would be downloading apps (or the phone downloading updates automatically), playing Apple Music, updating iOS, etc. Spammy, but not that big a deal. I'd imagine rather similar from Android by filtering to Google, Samsung, etc hosts.
- okket 9y agoWhat exactly is 'alarming' about a cloud device trying to connect to its cloud services? DNS/UDP is the cheapest way of communicating for the device, and, if the DNS servers are not mad and the RR timers are set correctly, also for the name server.