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?
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

d4nnyoAuthor Commented:

PS -- the iPads are running 4.3.
Alan HardistyCo-OwnerCommented:
Why do you need to force the iPad's - can't you tweak DNS?
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.
OWASP Proactive Controls

Learn the most important control and control categories that every architect and developer should include in their projects.

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.
Jason C. LevineDon't talk to me.Commented:
It has to be via a jailbreak.
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
d4nnyoAuthor Commented:

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

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

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?"
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.