Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

YouTube in the hosts file is ignored since version 125.0b1 Developer edition

  • 2 réponses
  • 0 a ce problème
  • 1 vue
  • Dernière réponse par juandhdez94

more options

It doesn't matter if I add www.youtube.com site to hosts file in Linux and delete cache, Firefox just doesn't block it, bypassing my meassures to prevent me to get hooked up here. It was blocking everything as expected some weeks ago. I also tried redirecting to different IP's and it didn't work.

After some checks, I noticed:

  • It happens only with www.youtube.com, it doesn't happen with youtube.com (without www)
  • Other common pages like other Google pages, Facebook, TikTok or Instagram, get succesfuly blocked by hosts file as expected
  • I have tested creating new profiles with about:profiles, but the issue continues
  • The issue started after Firefox Developer Edition version 125.0b1 as you may notice in the images attached.
  • I also tested with the latest nigthly version and the issue continues.
  • DNS over HTTP (DOH) doesn't seems to be the problem since it seems that my network doesn't met the requirements to enable it, and if I manually make sure it's disabled, the issue still continues.
  • Chromium browser blocks www.youtube.com as expected, so that indicates my PC might be correctly configured
It doesn't matter if I add www.youtube.com site to hosts file in Linux and delete cache, Firefox just doesn't block it, bypassing my meassures to prevent me to get hooked up here. It was blocking everything as expected some weeks ago. I also tried redirecting to different IP's and it didn't work. After some checks, I noticed: * It happens only with www.youtube.com, it doesn't happen with youtube.com (without www) * Other common pages like other Google pages, Facebook, TikTok or Instagram, get succesfuly blocked by hosts file as expected * I have tested creating new profiles with about:profiles, but the issue continues * The issue started after Firefox Developer Edition version 125.0b1 as you may notice in the images attached. * I also tested with the latest nigthly version and the issue continues. * DNS over HTTP (DOH) doesn't seems to be the problem since it seems that my network doesn't met the requirements to enable it, and if I manually make sure it's disabled, the issue still continues. * Chromium browser blocks www.youtube.com as expected, so that indicates my PC might be correctly configured
Captures d’écran jointes

Solution choisie

Try changing network.dns.native_https_query to false in about:config.

Lire cette réponse dans son contexte 👍 1

Toutes les réponses (2)

more options

Solution choisie

Try changing network.dns.native_https_query to false in about:config.

more options

zeroknight said

Try changing network.dns.native_https_query to false in about:config.

Thanks, yes, that makes youtube to get blocked. Just a question, Do you know if it's intended that this happen only with www.youtube.com? Or should it have a ticket or something to fix it?