i need to utterly block a domain from even being connected to. obviously, addons wont work, since those only check the URL of the site the browser is navigating to, not domains the browser is connecting to. i need firefox, but preferably every browser to refuse to even make connection with the domain wherever and whenever they are being connected to, for example in an iframe, or loading an image from them on a site with a different URL.
changing the hosts file at C:\windows\system32\drivers\etc did NOTHING at all. writing this as a test:
127.0.0.1 google.com
127.0.0.1 www.google.com
anywhere in the file did nothing, and i could still connect to google.
as a reference, i would need something like when a website has an invalid certificate. when that happens, firefox refuses to even connect to the domains. would it be possible to assign an invalid certificate to specific domains, so that they get blocked? also, every hosts file changing addon i tried for firefox changes the windows hosts file, and it obviously doesnt work. is it possible to change the actual settings firefox uses instead?
also, i am using windows xp, but that shouldnt mean its impossible.
ipconfig /flushdns
after changingC:\windows\system32\drivers\etc