Skip to content

Instantly share code, notes, and snippets.

@xpepper
Last active July 20, 2025 08:59
Show Gist options
  • Save xpepper/35ed3a6dd27ce5d8694b9b2034b9f406 to your computer and use it in GitHub Desktop.
Save xpepper/35ed3a6dd27ce5d8694b9b2034b9f406 to your computer and use it in GitHub Desktop.
To setup a custom DNS on your TIM ZTE H388X router

To setup a custom DNS on your TIM ZTE H388X router:

  • head to "Rete Locale" -> "LAN" -> Server DHCP
  • execute this script in the browser dev tools console
document.querySelectorAll('#template_DHCPBasicCfg [style*="display: none;"]').forEach(el => {
    el.style.display = ''; // Removes inline display:none
});
  • you should see
image
  • set your preferred DNS
  • save
@Livius0
Copy link

Livius0 commented Jan 20, 2025

Ottimo quello che stavo cercando.

@ziltoid-linux
Copy link

ziltoid-linux commented Jun 30, 2025

Grazie per lo script, da provare!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment