搜尋 Mozilla 技術支援網站

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

Learn More

Adjusted name resolutions for host targets

  • 無回覆
  • 0 有這個問題
  • 1 次檢視
more options

Curl gives us access to the --resolv feature. Its super handy for making quick name resolution changes for single requests without modifying a hosts file. It is particularly handy when troubleshooting proxy's and load balancers.

Example curl request curl https://www.mywebsite.com --resolv "www.mywebsite.com:443:192.168.255.100"

Is there an equivalent method in firefox to do the same thing?

To be extra clear I do not want to modify the host header. That doesn't help for TLS destinations with certs and subject names etc.

Curl gives us access to the --resolv feature. Its super handy for making quick name resolution changes for single requests without modifying a hosts file. It is particularly handy when troubleshooting proxy's and load balancers. Example curl request curl https://www.mywebsite.com --resolv "www.mywebsite.com:443:192.168.255.100" Is there an equivalent method in firefox to do the same thing? To be extra clear I do not want to modify the host header. That doesn't help for TLS destinations with certs and subject names etc.