DNS caching in linux

前端 未结 4 1891
猫巷女王i
猫巷女王i 2020-12-02 07:51

I am confused about DNS caching. I am writing a small forward proxy server and want to use OS DNS cache on a Linux system.

If I understand correctly, then there is D

4条回答
  •  孤城傲影
    2020-12-02 08:07

    Firefox contains a dns cache. To disable the DNS cache:

    1. Open your browser
    2. Type in about:config in the address bar
    3. Right click on the list of Properties and select New > Integer in the Context menu
    4. Enter 'network.dnsCacheExpiration' as the preference name and 0 as the integer value

    When disabled, Firefox will use the DNS cache provided by the OS.

提交回复
热议问题