Skip to content

Instantly share code, notes, and snippets.

@Tuxliri
Created October 6, 2026 14:02
Show Gist options
  • Select an option

  • Save Tuxliri/f5b0552c45fc819027ed3d9d533516f3 to your computer and use it in GitHub Desktop.

Select an option

Save Tuxliri/f5b0552c45fc819027ed3d9d533516f3 to your computer and use it in GitHub Desktop.
Change DNS on TIM HUB Pro
  1. Login to the web interface at 192.168.1.1
  2. Go to Rete locale -> LAN -> Server DHCP
  3. Open Chrome Web Tools by pressing F12
  4. Go in the Console tab
  5. Type allow pasting in the console and press Enter
  6. Paste the following script and press Enter:
$("[id*='DNS'], [id*='dns']").each(function() {
  $(this).attr('style', 'display: block !important; visibility: visible !important; opacity: 1 !important;');
  $(this).removeClass('PostIgnore disableBtn');
});
$('#div_Ipv4DnsOrigin, #div_DnsServerSource').show().attr('style', 'display: block !important;');
  1. The DNS field will appear
  2. Set your preferred primary and secondary DNS
  3. Click Applica to save the changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment