I have a specific testing requirement to meet.
One of the requirements is to redirect a non-existent URL to a specific IP address, which is what the DNS is currently handling. I suspect that Firefox is using an internal DNS cache. However, I'm having trouble finding a suitable service to modify this type of DNS cache. Additionally, I am unsure if Firefox supports any services to customize the DNS process and provide a customized result instead of retrieving information from the DNS server.
Since I need to run multiple Firefox processes concurrently for my work, simply changing the system hosts file is not a viable option as it may affect other processes.
Does anyone have any ideas or suggestions?