Firefox DNS resolution, not respecting /etc/hosts
Facebook still keep oppening regardless I added the folowwing in my /etc/hosts file:
127.0.0.1 localhost www.facebook.com facebook.com
Wybrane rozwiązanie
Looks like in the DNS cache it has.
I just deleted the DNS cache and it works.
I depleted the DNS cache by setting the configuration value network.dnsCacheEntries to 0.
After navigating to the pages I wanted to redirecto to localhost, I restored the network.dnsCacheEntries value to 400 (it's original value).
Przeczytaj tę odpowiedź w całym kontekście 👍 6Wszystkie odpowiedzi (1)
Wybrane rozwiązanie
Looks like in the DNS cache it has.
I just deleted the DNS cache and it works.
I depleted the DNS cache by setting the configuration value network.dnsCacheEntries to 0.
After navigating to the pages I wanted to redirecto to localhost, I restored the network.dnsCacheEntries value to 400 (it's original value).