Search code examples
linuxdnsraspberry-pidhcppowerdns

iPhone: Local DNS for local domains - cellular data for external addresses


I recently set up my raspberry pi to as a DNS and DHCP server. Everything is fine - but now I have one remaining problem with iDevices.

The WiFi served by my raspberry pi is local only. There is a web app running on the pi which should be reachable via http://app.raspberry.localnet (I did not use .local, since it would conflict with BonJour).

If I connect to the WiFi with my iDevices it recognizes the raspberry as DNS server and the search domain is set to raspberry.localnet. The symbol in the status bar states 3G or E depending on reception. Everything looks good. I can reach my app by entering the local IP address, but http://app.raspberry.localnet is not resolved.

Any ideas?


Solution

  • Okay. My own answer was wrong. The *.local stuff only works because of mDNS. A feature which is not implemented in android phones. My problem is therefore not solvable. I just have to use IPS ... :/