Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox DNS resolution, not respecting /etc/hosts

  • 1 reply
  • 20 have this problem
  • 55 views
  • Last reply by jgomo3

more options

Facebook still keep oppening regardless I added the folowwing in my /etc/hosts file:

127.0.0.1 localhost www.facebook.com facebook.com

Facebook still keep oppening regardless I added the folowwing in my /etc/hosts file: 127.0.0.1 localhost www.facebook.com facebook.com

Chosen solution

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).

Read this answer in context 👍 6

All Replies (1)

more options

Chosen Solution

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).