DNS Hostname Changer

DNS Hostname Changer

10,000 - 50,000 downloads

Add this app to your lists
*** REQUIRES ROOT ACCESS ***
If you do not know what this is you probably do not have it and this will do nothing for you.

Simple app which allows you to change your device's hostname to your custom defined hostname. This setting will remain after rebooting. The device hostname is changed and the network services are toggled so the device updates the DHCP and DNS servers with the new hostname. Once completed you should be able to ping your device at the user defined hostname. For instance, checking a default android device's hostname from DNS would show "android-abcdefghijklmnop" or some long unrecognizable name. Changing the hostname will update DHCP and DNS so that your device will appear as "your-defined-name".

Permissions:
*** REQUIRES ROOT ***
Sorry but this is due to Google making the hostname setting a secure setting. I have no control over this.

WRITE_SETTINGS: Required to change the hostname and toggle airplane mode.

ACCESS_WIFI_STATE: Determine if we need to toggle the WIFI once the hostname is changed.

CHANGE_WIFI_STATE: Toggle the WIFI if needed.

RECEIVE_BOOT_COMPLETED: Retain hostname change across reboot.

Tags: 4 dns.

Recently changed in this version

Version 1.1
6/21/2013 Fixed forcing name to uppercase by request

Version 1.0
1/23/2013 First Draft.

Please let me know any issues or feedback,

Thanks,

support@developersinfo.com


Screenshots DNS Hostname Changer
View bigger - DNS Hostname Changer for Android screenshot
View bigger - DNS Hostname Changer for Android screenshot
Comments and ratings for DNS Hostname Changer
  • (69 stars)

    by Mike Vegan on 14/06/2014

    Installed and tried out: DNS name changed succesfully, but went back to the default name after rebooting the device (Ascend G300 with Android 2.3.6, rooted and autostart active). Works well on android 4.0.3 (Galaxy Tab II 7.0), when you reboot the device DNS name comes back to default for a while, but then it's automatically changed by thia App as soon as it autostarts.

  • (69 stars)

    by Daniel Åkerud on 06/06/2014

    Works nicely on my Sony Z1 Compact with CM11.

  • (69 stars)

    by ถาวาร ดีมาด on 05/05/2014

    oo

  • (69 stars)

    by Howell Tam on 16/04/2014

    Thanks. It just works!

  • (69 stars)

    by Fernando Viñan-Cano on 03/04/2014

    Top notch fix to something that should be standard

  • (69 stars)

    by Павел Жук on 26/03/2014

    Does not retain changes across reboots in spite of being present in autostarts! a) rooted b) app on the phone (no native SD, no Link2SD)

  • (69 stars)

    by Tamás Tegzes on 23/03/2014

    It's working.