Is it possible to add entry to hosts file on Android without rooting phone?

I am contractor working in remote and I have to use AirWatch and Cisco AnyConnect to get access to VPN, but if I root Samsung tablet (SM-T700, 5.0.2) then I can't get access to VPN. All what I actually need is to access web application behind that VPN with either Firefox or Chrome. It's just adding: ip.ip.ip.ip jbossWorker100.intranetOfCompany.com

I already rooted tablet, changed host file, but then I can't get access VPN, and if I unroot it then I can get through VPN but I can't get to the app.


This is not possible. You can, however, run your own DNS server on a local network, that could emulate this behaviour on all appliances that are connected via it.

  • We don't have local DNS server on our LAN, so maybe I should check if ruter has that capability? – Nenad Bulatovic Sep 7 '15 at 17:14
  • That should work. – mikky Sep 7 '15 at 22:04
  • @mikky Could you provide a link to a reliable way to run a local DNS server? And could this be used if you're only internet is through wifi tethering? – LateralTerminal Oct 31 '17 at 16:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.