iPad/iPhone - modify hosts file


I need to force an iPad and iPhone to recognize a domain by modding the hosts file inside the devices. I've googled but can't find a clear answer. Anyone tried this?
LVL 1
d4nnyoAsked:
Who is Participating?
 
ArneLoviusCommented:
fix your DNS, it's a much better solution than trying to modify the hosts file

I'm going to guess that the domain name of the internal jabber server is not the usual internal domain name, if so, you will need to add a new zone to your DNS server.

0
 
d4nnyoAuthor Commented:

PS -- the iPads are running 4.3.
0
 
Alan HardistyCo-OwnerCommented:
Why do you need to force the iPad's - can't you tweak DNS?
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
d4nnyoAuthor Commented:

I have to force a private IP to see a Jabber server. The domain is not registering properly on the LAN. It's an issue that I can't solve right now without a ton of work. Anyway only Jabber is affected. Modding host files is the fast way around it.
0
 
Alan HardistyCo-OwnerCommented:
Are the devices Jailbroken and do you have SSH on them?

If they are and you do, then the hosts file can be found under /private/etc/hosts and you can use something like WinSCP.

If not, then I'm not sure how you are going to access the file(s) to edit them.
0
 
Jason C. LevineNo oneCommented:
It has to be via a jailbreak.
0
 
d4nnyoAuthor Commented:
ArneLovius,

You have the right answer, I'm sure, but I'm not a DNS expert and so this post will venture off-topic, I guess.

Our Windows 2008 DNS Server is "domainname.local" (I didn't set up this box).

Our Xserve Jabber domain name is "jabber-server.sample.com" with the IP 10.10.50.5.

When I go to add an A Record on the 2008 server on domainname.local, it FQDNs as "jabber-server.sample.com.domainname.local."

On the Apple server, I can ping "jabber-server.sample.com" and it resolves correctly to 10.10.50.5.

On the Windows server, I can ping "jabber-server.sample.com" but it resolves to OpenDNS, our DNS provider.

We do have other Forward lookup zones on the Windows server, including "domainname.com" and "companyname.com."

Is there any way I can add this A Record on my 2008 server, or some other way to let the LAN know where to find "jabber-server.sample.com?"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.