Frustrating problem with hosts file


Recommended Posts

I downloaded/installed the mvps hosts file and can still access websites and see ads that are supposed to be blocked. I've tried disabling the DNS client, deleting temp internet files etc but it still lets them through. Its random too. I placed in on about 16 XP Pro machines and some have the problem and some don't. No viruses/malware are present on any machine. Anything I'm missing? Just an FYI I didn't use the batch file that comes with the mvps hosts file, I just renamed the original host to "hosts.bak" and copied the mvps version to the proper directory.

Link to comment
https://www.neowin.net/forum/topic/824794-frustrating-problem-with-hosts-file/
Share on other sites

Did you flush the dns cache after putting in the host file?

if your wanting to block hosts by pointing them to 127.0.0.1 -- why don't you just place the entries in your local DNS? When you mention 16 machines -- sounds like your in work environment.. Where do these machines point for dns? Do you have AD setup? Or do they point at your router or your ISP?

Its always easier to put blocks like this in 1 place vs local on each machine, etc.

You're right its a work environment but only for the PCs setup for kids to use. Are servers forward DNS requests to OpenDNS in order to be CIPA compliant. The mvps hosts file blocks alot of ads/garbage so I thought I would experiment with it on those computers as an additional layer of protection since they're at high risk of infection (kids will be kids). There is alot of stuff in that hosts file that would have to be manually entered into OpenDNS's blacklist....

I was under the impression that disabling the DNS client service would also flush it? It returns an error if you attempt to flush it after disabling the service.

  sc302 said:
if you are more worried about infection vs productivity look at windows steady state.

I'm actually planning on doing that, but I have to wait till the school year is over to start setting all the PCs up for it. Grrr...I wish kids would just leave **** alone! :)

you don't have to put the entries all the way up at opendns, you can just put them in your local dns.

A quick way to check if items are being read from the host file is to view the chache, so leave the dns client running and then flush the cache.. you should still see the items in your host file with a very large TTL

example

C:\>ipconfig /flushdns

Windows IP Configuration

Successfully flushed the DNS Resolver Cache.

C:\>ipconfig /displaydns

Windows IP Configuration

1.0.0.127.in-addr.arpa

----------------------------------------

Record Name . . . . . : 1.0.0.127.in-addr.arpa.

Record Type . . . . . : 12

Time To Live . . . . : 599428

Data Length . . . . . : 4

Section . . . . . . . : Answer

PTR Record . . . . . : localhost

localhost

----------------------------------------

Record Name . . . . . : localhost

Record Type . . . . . : 1

Time To Live . . . . : 599428

Data Length . . . . . : 4

Section . . . . . . . : Answer

A (Host) Record . . . : 127.0.0.1

Once you have put the entries in your host file, you should see them in your local cache -- example

C:\>ipconfig /displaydns

Windows IP Configuration

1.0.0.127.in-addr.arpa

----------------------------------------

Record Name . . . . . : 1.0.0.127.in-addr.arpa.

Record Type . . . . . : 12

Time To Live . . . . : 599326

Data Length . . . . . : 4

Section . . . . . . . : Answer

PTR Record . . . . . : localhost

Record Name . . . . . : 1.0.0.127.in-addr.arpa.

Record Type . . . . . : 12

Time To Live . . . . : 599326

Data Length . . . . . : 4

Section . . . . . . . : Answer

PTR Record . . . . . : test

test

----------------------------------------

Record Name . . . . . : test

Record Type . . . . . : 1

Time To Live . . . . : 599326

Data Length . . . . . : 4

Section . . . . . . . : Answer

A (Host) Record . . . : 127.0.0.1

test.test.com

----------------------------------------

Record Name . . . . . : test.test.com

Record Type . . . . . : 5

Time To Live . . . . : 599326

Data Length . . . . . : 4

Section . . . . . . . : Answer

CNAME Record . . . . : test

localhost

----------------------------------------

Record Name . . . . . : localhost

Record Type . . . . . : 1

Time To Live . . . . : 599326

Data Length . . . . . : 4

Section . . . . . . . : Answer

A (Host) Record . . . : 127.0.0.1

if they are not getting put in there - then your having an issue reading your host file..

Edited by BudMan

expensive.....cheaper solutions would be

barracuda web filter (gateway content filter and antimalware scanner this does not take the place of a desktop antivirus and/or antimalware but I have noticed very few issues after this filter was put in)

http://www.k12usa.com/secureapp.asp

blue coat content filter

websense content filter

webbalended content filter

There are a lot designed for schools and businesses. Some are cheaper than others, some are more expensive. In the schools I have dealt with selling a content filter was easy and necessary with the content filter you get monitoring as well, easy to bring up user logs to tell exactly what user went to what site on which computer/ip they logon to and they can't clear that history. It really is an easy sell to the board/your manager/pricipal.

I highly recommend the barracuda webfilter, very easy to setup and support is really good.

take a look at the demo here http://webfilter.barracuda.com/cgi-mod/index.cgi

logon: guest

password: webfilter

key points:

basic-main page: infection activity (shows you what pcs are infected and what they are infected with)

basic-web log tab: shows user activity

basic-report log tab: can run reports on many different options (go through it)

block/accept-content filter tab: self explanitory

block/accept-execptions: custom rules which applies to individual groups/users/ip addresses

block/accept-domains: custom domains which applies to the whole orginization

The only thing they get you on is the subscription and warranty, no other things to nickel and dime you on. 1500 for the low end box add ~400 for a 1 year sub that brings you to 1900, but you may qualify for additional discounts being that you are a school. That you would have to work out with barracuda corp (not sure if the resellers would give you a deal, as most are money hungry and will end up cutting into their profits). Barracuda offers a 30 day eval where they send you an appliance for 30 days and if you don't like it you can send it right back. Remember at that price you are getting a antimalware/antivirus/content filter dedicated device.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Tell you what, let me download Windows Media Center 8.9.2 and give this another crack.
    • Imagine if nobody ever kicked upstream to the Linux kernel. Bet we wouldn’t be seeing anything near as good as what we have today. But let’s give Apple a pass I guess.
    • RapidRAW 1.3.0 by Razvan Serea RapidRAW is a beautiful, non-destructive, GPU‑accelerated RAW image editor designed for speed and simplicity. It uses a lightweight (~30 MB), efficient code base built with Rust, React and Tauri. Ideal for Lightroom workflows, it offers rich editing tools—exposure, contrast, highlights, shadows, whites/blacks, tone curves, HSL mixer, dehaze, vignetting, film grain, sharpening, clarity and noise reduction—processed in real-time on the GPU. Features include intuitive masking (brush, linear, radial, AI-powered subject and foreground detection), generative edit layers (via ComfyUI), 32‑bit precision, and full RAW format support through rawler. RapidRAW also provides library management (folder navigation, ratings, metadata, EXIF viewer), batch operations, export presets (JPEG/PNG/TIFF), sidecar editing (.rrdata), undo/redo history, customizable UI themes, smooth animations, resizable panels, and preset copy/paste. A modern high-performance Lightroom alternative with polished UX and creative tools, RapidRAW brings powerful photo editing to photographers seeking speed, responsive GPU feedback, and streamlined workflows. RapidRAW 1.3.0 changelog: Fuji RAF X-Trans Support: most Fuji cameras and RAF files are now supported! The demosaicing algorithm still has room for improvement - particularly in the corners - but it’s already quite usable. Fixed a bug that caused the image to reload from disk every time the thumbnail was updated, which led to performance issues on slower systems. Download: RapidRAW 1.3.0 | 19.8 MB (Open Source) View: RapidRAW Home Page | Screenshot | Other operating systems Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Typically when the buying isnt attempting to find the cheapest deal but prefers the safest purchase, I recommend just buying it from the Microsoft Store directly, its a $99 upgrade from Home to Pro, its not a huge deal. I have had to do this a few times when they bought a PC off amazon that claimed it was Pro and was not.
    • T-FORCE XTREEM 6000/C30 DDR5 memory review: Blows Corsair VENGEANCE away by Steven Parker TEAMGROUP is a memory, AIO and SSD manufacturer based out of Taiwan and founded in 1997. They sell memory under the T-FORCE brand, and when their contact person reached out to me wondering if I was interested in taking a look at their memory sticks, I jumped at the chance; this follows a review for I did for them back in May testing their DELTA 7200MT/s DDR5 memory kit. First a disclosure, TEAMGROUP sent me this XTREEM DDR5 32GB (2x16GB) 6000MT/s CL30 Black kit sample to keep, without any review pre-approval. Sayan Sen contributed to this feature, and also provided the benchmark graphics. Specifications First off, here are the full specifications of this memory kit. XTREEM DDR5 32GB (2x16GB) 6000MHz CL30 Brand T-FORCE Series XTREEM Model FFXD532G6000HC30DC01 Capacity 32GB (2 x 16GB) Type 288-Pin PC RAM Speed DDR5 6000 (PC5 48000) CAS Latency CL30 Timing 30-36-36-76 Voltage 1.35V Die SK Hynix M-Die 4.D Rank 1xR (Single Rank) ECC No, On-Die ECC Buffered/Registered Unbuffered BIOS/Performance Profile Intel XMP 3.0 / AMD EXPO Color Black, White Heat Spreader Yes Recommend Use Intel 800,700 / AMD 800, 700 Series LED Color No Price $105.99 Introduction The T-FORCE memory was benchmarked in the following system: Cooler Master MasterBox NR200P MAX ASRock Z790 PG-ITX/TB4 Intel Core i7-14700K with Thermal Grizzly Carbonaut Pad Corsair Vengeance 2x16GB 6000MT/s CL30 (XMP Profile) TEAMGROUP T-FORCE DELTA 2x16GB 7600MT/s CL36 ASRock AMD Radeon RX 7900 XTX Phantom Gaming Kingston Fury Renegade SSD The ASRock Z790 PG-ITX/TB4 motherboard had BIOS version 15.01 at the time of testing, and I reset BIOS to default settings and only enabled the Intel XMP 3.0 profile with all of the tested memory. Windows 11 was up to date with July Patch Tuesday build 26100.4652 (KB5062553) at the time of testing and I ensured I had minimal programs running in the background with the exception of AMD Adrenaline, Razer Central, and Microsoft Defender active in the system tray. Benchmarks For our benchmarks, UL Solutions provided us with Professional (commercial use) licenses for 3DMark, and Procyon; and a copy of AIDA64 Engineer was provided to us by Aida64.com. In addition, HWiNFO provided us with a commercial license that let us confirm that this kit is Hynix SK, M-die, Single Rank memory. We start with AIDA64 Cache & Memory Benchmark for all four kits to get a measure of the full capabilities of each of them: T-FORCE XTREEM DDR5-6000 CL30: Corsair VENGENCE DDR5-6000 CL30: T-FORCE XTREEM DDR5-7600 CL36: T-FORCE XTREEM DDR5-7200 CL34: Following the purely synthetic tests, we next move to workloads that are more representative of typical tasks like gaming, AI, productivity, and other everyday usages. For reference, in the charts below, the memory kits are sorted by different color shades of blue, the higher the frequency the deeper the shade. Starting with 3DMark, we tested the physics test only and not the entire suite since the CPU is what is necessary for processing the game physics, logic, as well as GPU draw calls for the graphics card. A CPU-heavy test like the 3DMark Physics test helps to gauge the CPU's true gaming capability. The XTREEM DDR5-6000 CL30 kit does exceptionally well on 3DMark DirectX 11 especially in Sky Diver—which also makes sense, given that it is lighter graphically and thus the CPU has more to do here than on Fire Strike, relatively speaking. On Sky Diver, we see a 19% better performance than the Corsair VENGEANCE memory that is specced similar. On Fire Strike too the XTREEM 6000 CL30 was the fastest. In DirectX 12, things do not change much as TeamGroup's 6000 CL30 kit keeps up with the faster memories. However the performance differences are not as prominent as were in the case of DX 11 since the older API was more single-thread bound and thus ran into CPU bottlenecks far more easily. The XTREEM 6000 C30 RAM uses SK Hynix M-Die and that could explain this really great showing. The AIDA64 memory and cache synthetic benchmark above did not hint at such a big gap in real-world performance and this has definitely surprised us, in a good way. 7-Zip decompression was the only test the new T-FORCE memory lost in, though as you can see above, the scores are all quite close to one another. In decompression however the XTREEM 6000 CL30 kit trumps the CORSAIR VENGEANCE by a good margin.. Next we checked out AIDA64's AES, Zlib and PhotoWorxx benchmarks as we wanted to see check performance in things like encryption (AES), data compression (Zlib), and image processing (PhotoWorxx). AIDA64 showed almost no difference in the AES test as all kits were in the margin of error territory. This surprised us as we thought the RAM differences would reflect better in an encryption benchmark. That is evidently not the case as it seems the processor is more important. It's a similar story for Zlib too, which was another surprising result given that Z-Zip earlier showed a significant difference. Thus, it is clearly not a case of one-size-fits-all as the compression algorithm on Zlib is much less sensitive to memory than the one in the 7-zip benchmark. PhotoWorxx was where we saw the differences between the kits. Both the 7200 and the 7600 modules were much faster than the 6000 ones. We tested browsing performance using Speedometer 3.0. Speedometer provides a value and also a range showing the highest and lowest scores as indicated in the chart above by the two set of scores for each browser. Microsoft Edge showed the most response to faster memory speeds but Chrome also liked the new XTREEM 6000 RAM. Mozilla's Firefox too, which was generally quite uncaring of memory speed and latencies in case of the other kits, seemed to love these XTREEM Black 6000 CL30 modules. Next up, we did some productivity testing with UL's Procyon suite of benchmarks. First up, we have the Office test and the TeamGroup 6000 C30 kit does an amazing job here as it even outpaces the faster memories. We also ran Computer Vision, which is an AI inference benchmark and saw identical figures with each of the RAM kit. Each of them put up around 192 points. We used the WinML API and float32 precision as it is more memory-heavy than float16. Finally we have Geekbench AI and once more, the XTREEM 6000 CL30 put on a great show especially in the case of the Quantized metric. However, it must be noted that we updated Geekbench AI from 1.2.0 to 1.4.0 and although Geekbench warns that scores cannot be compared between major versions, what the margin of error is between point versions is unknown. Pricing Kit Capacity Timings Current Price T-FORCE XTREEM DDR5-6000 CL30 2 x 16GB 30-38-38-76 1.35V $105.99 Corsair VENGENCE DDR5-6000 CL30 2 x 16GB 30-36-36-76 1.40V $135.99 T-FORCE XTREEM DDR5-7600 CL36 2 x 16GB 36-46-46-84 1.40V $137.99 T-FORCE XTREEM DDR5-7200 CL34 2 x 16GB` 34-42-42-84 1.40V $186.99 Conclusion Coming into the review, I did not expect to see such a big difference in the kits' performances; since both the TeamGroup and the Corsair are rated at 6000 CL30, I thought they would be trading blows in most cases. However as we see, that is clearly not the case as the XTREEM Black memory punches well above its weight. Currently the kit of Corsair Vengence on Amazon costs $30 more since the XTREEM memory is ~$106; in fact there's a note that the Corsair kit is frequently returned, which is not good. I find it hard to find any faults at all with this memory kit and it is a 10 out of 10 for sure considering the value and the performance. The only thing that may be works against it is the lack of RGB lighting but that is simply not enough to deduct a point in our book given its outstandingvalue for money. TEAMGROUP gets a thumbs up from me for their T-FORCE memory, they installed without any issues and from the multiple times I powered on the system, the ASRock motherboard did not have to recalculate the timings. As an Amazon Associate we earn from qualifying purchases.
  • Recent Achievements

    • Dedicated
      John Volks earned a badge
      Dedicated
    • One Month Later
      KenKay earned a badge
      One Month Later
    • Week One Done
      KenKay earned a badge
      Week One Done
    • Dedicated
      Amadou earned a badge
      Dedicated
    • One Month Later
      TheRingmaster earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      641
    2. 2
      ATLien_0
      243
    3. 3
      Xenon
      182
    4. 4
      neufuse
      154
    5. 5
      +FloatingFatMan
      121
  • Tell a friend

    Love Neowin? Tell a friend!