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
Giải pháp được chọn
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).
Đọc câu trả lời này trong ngữ cảnh 👍 6Tất cả các câu trả lời (1)
Giải pháp được chọn
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).