CentOS 7.x Disable Firefox DNS cache
From Notes_Wiki
<yambe:breadcrumb>CentOS_7.x_Firefox|CentOS 7.x Firefox</yambe:breadcrumb>
CentOS 7.x Disable Firefox DNS cache
If you open a site and it fails due to DNS issues. Then if you update OS DNS (/etc/resolv.conf in Linux) then refreshing firefox does not solves the problem, although "ping hostname" in OS works fine. This is because firefox caches DNS entries and also perhaps DNS server location. To disable this behavior use:
- Open about:config
- Set following values:
- network.dnsCacheExpiration :: 0
- network.dnsCacheExpirationGracePeriod :: 0
- network.dnsCacheEntries :: 0
- network.dns.disablePrefetch :: true
This should make DNS work directly based on current OS settings
Refer: