搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

DNS Prefetch and Local DNS Server results in Wrong IP

  • 1 回覆
  • 1 有這個問題
  • 19 次檢視
  • 最近回覆由 briansmither

more options

In a local net, I run Windows Server 2003 on 10.1.10.2 and provide DNS services for my local net. This local DNS Server resolves my domain (that I serve from Server 2003) to 10.1.10.2 (and other sub-domains), and Firefox 5/6 then communicates with 10.1.10.2.

But eventually Firefox will start to attempt communication with my public static IP. (My router is not the kind that allows to connect to itself.) I can no longer get to my local site by domain name.

I do not want to turn off prefetching, but I want Firefox to use the Primary DNS Server as specified in my workstation's networking settings.

Once the public IP gets in the cache, not even closing all browser windows seems to clear it out consistently.

In a local net, I run Windows Server 2003 on 10.1.10.2 and provide DNS services for my local net. This local DNS Server resolves my domain (that I serve from Server 2003) to 10.1.10.2 (and other sub-domains), and Firefox 5/6 then communicates with 10.1.10.2. But eventually Firefox will start to attempt communication with my public static IP. (My router is not the kind that allows to connect to itself.) I can no longer get to my local site by domain name. I do not want to turn off prefetching, but I want Firefox to use the Primary DNS Server as specified in my workstation's networking settings. Once the public IP gets in the cache, not even closing all browser windows seems to clear it out consistently.

由 briansmither 於 修改

所有回覆 (1)

more options

OK, it's not the DNS Prefetch. But I did two things:

1. Set network.dnsCacheExpire to 5

2. Removed the public DNS Server IPs from the Network Interface settings so that the only DNS Server known to this interface is the local server.

由 briansmither 於 修改