ren c:\windows\system32\drivers\etc\hosts C:\windows\system32\drivers\etc\hosts_original copy \Server Name\Share Name\Hosts c:\windows\system32\drivers\etc\ /Y Create Computer GPO with start up script (Computer Start up GPO is better than User login script as the users will NOT need Administrative privileges) Reboot the computer - the desired hosts file should be working after Computer GPO executes.
Note that registered members see fewer ads, and Content Link is completely disabled once you log in. Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us. But not all SDN solutions offer real software-defined functionality.
Please visit this page to clear all LQ-related cookies. SDN has quickly become one of the hottest trends in IT.
Click Here to receive this Complete Guide absolutely free.
Hi folks, I think I'm probably making a stupid mistake or missing something simple (as always), but for some reason my /etc/hosts file is not working after updating it.
I added a number of domain names and mapped them to the loopback addr like this: 127.0.0.1 even after rebooting my system I can still access these cdomains from within my network The computer in question is a RH 7.2 machine operating as a gateway/server for a two-pc lan.
I use two NICs and IP MASQ to share an ADSL connection.Could my IPTABLES rules be overriding the hosts file?Don't think I have any rules that would override my hosts settings but if that is a possibility then I would like to know. I'm not sure if I understand what you are trying to do. But from what I understand you are trying to block certain sites by making them resolve to local host.I'm not sure if you are trying to do that only for the redhat machine or for the internal machines.Are you using the redhat server as a caching domain server.If not the internal machines are probably trying to resolve there names externally.