Windows 10: Hosts file gets blanked periodically

Discus and support Hosts file gets blanked periodically in Windows 10 Network and Sharing to solve the problem; Hi,i have some dns mapped on the hosts file, but the file gets periodically corrupted or something. When i open it with notepad++ it shows... Discussion in 'Windows 10 Network and Sharing' started by Hesia, Jun 15, 2021.

  1. Hesia Win User

    Hosts file gets blanked periodically


    Hi,i have some dns mapped on the hosts file, but the file gets periodically corrupted or something. When i open it with notepad++ it shows nulnulnulnulnulnul and so on, if i convert it to UTF-8 it shows the first row it's filled with blank spaces.This happens every few months. Is there a way to prevent it ?Thanks

    :)
     
    Hesia, Jun 15, 2021
    #1
  2. pigulici Win User

    List website to block in host file

    So , recent I learn that I can block the ads on my pc if I put the ip address of that ads in the host file to go on 127.0.0.1, well I did not escape from all ads but I am not rely only on browser addons(take some work on cpu), also I like host idea because I can control it and block before enter on pc, not on browser, I put the list from here:
    http://winhelp2002.mvps.org/hosts.txt
    now I see another list who seems good too:
    http://www.malwaredomainlist.com/hostslist/hosts.txt

    I know this lists are not forever,I must check periodical for changes, but I want to know if are another, maybe, best list(updated periodical).

    Look like the one from malwaredomainlist.com it is to aggressive, even yahoo messenger will not connect, so I will stay with http://winhelp2002.mvps.org/hosts.txt for now, maybe athers will post their finds.
     
    pigulici, Jun 15, 2021
    #2
  3. Hosts file editing

    I have to jump in and say I use, and have used the host file for years. It's an easy way to take stress off of old name servers. I don't add everything, but major shares I do add to the host file. I've used the host file for some tunneling as well. I try to optimize my network as much as possible and I have a solid network. But Easy Rhino is right as well, you'll want to have everything he suggested as well. *Toast :toast:
     
    Mindweaver, Jun 15, 2021
    #3
  4. Hosts file gets blanked periodically

    Browser /connection security, hosts file and DNS service

    You're saying that Open DNS(and other services like it) house their own list of known 'bad' sites, and by using their DNS servers, it will filter out sites based on that list?

    Would you believe I was already using Open DNS servers.
    This means the hosts file is moot?

    And furthering that, if there's any bespoke sites I want to manually add, I could do it through my router directly.

    Thus I can empty my local hosts file and turn my DNS service back on?
     
    newconroer, Jun 15, 2021
    #4
Thema:

Hosts file gets blanked periodically

Loading...
  1. Hosts file gets blanked periodically - Similar Threads - Hosts file gets

  2. Getting BSOD periodically

    in Windows 10 Gaming
    Getting BSOD periodically: I built a new computer and ever since I have been getting BSODs periodically, probably a few times a week. They seem to happen very randomly. Also, sometimes instead of a BSOD, the screen goes black with little bits of pixelated color everywhere then restarts. I am not...
  3. Getting BSOD periodically

    in Windows 10 Software and Apps
    Getting BSOD periodically: I built a new computer and ever since I have been getting BSODs periodically, probably a few times a week. They seem to happen very randomly. Also, sometimes instead of a BSOD, the screen goes black with little bits of pixelated color everywhere then restarts. I am not...
  4. Getting BSOD periodically

    in Windows 10 BSOD Crashes and Debugging
    Getting BSOD periodically: I built a new computer and ever since I have been getting BSODs periodically, probably a few times a week. They seem to happen very randomly. Also, sometimes instead of a BSOD, the screen goes black with little bits of pixelated color everywhere then restarts. I am not...
  5. Having problems with startup. Blank screen for long periods.

    in Windows 10 Customization
    Having problems with startup. Blank screen for long periods.: Purchased Windows 10 for my HP Envy dv6 Notebook. Having problems with startup. Blank screen for long periods. https://answers.microsoft.com/en-us/windows/forum/all/canview1/c48b3b4b-f8d7-437d-9c7c-c89c545eb602
  6. Network Bridge host periodically loses internet connection

    in Windows 10 Network and Sharing
    Network Bridge host periodically loses internet connection: Hello all, I recently moved in to my university's apartment complex and I'm having issues with network-bridging. My desktop is connected to the apartment's WAP with an ethernet cable. I use a usb-ethernet adapter and crossover cable to connect my desktop to my laptop....
  7. Vanilla hosts file ( hosts file not working )

    in AntiVirus, Firewalls and System Security
    Vanilla hosts file ( hosts file not working ): Hi I keep getting this symptom from time to time , it fixes with windows updates but then occasionally come back . I have a list of advertising and malware websites that I filter through hosts file that are often used by a chat client as per the chat client community...
  8. Hosts file

    in Windows 10 Network and Sharing
    Hosts file: How can I reset the Hosts file back to the default? pls Is This good? 30362
  9. Hosts file

    in Windows 10 Support
    Hosts file: I am embarrassed that I forgot on change from Windows 7 to 10 I forgot until now to remember that only the sample Hosts file was installed. Now I cannot recall where the more comprehensive version came from or how to install it. Please advise me. 97081
  10. Get a blank page in file explorer

    in Windows 10 Support
    Get a blank page in file explorer: Hello.When I type something into the address bar in file explorer I just get a blank page. For example I tried this %localappdata%\Microsoft\Windows the green bar came from the left to right and the page was blank,Its always blank what ever I place in the address bar. Any...