+1
En revisión

Lost all entries in my HOSTS file

Anónimo hace 9 años actualizado hace 5 años 2

I've had the exact same problem as this guy


http://unchecky.userecho.com/topic/732301-your-update-to-the-hosts-file-deletes-any-valid-entries-in-the-file-not-acceptable/


I had a LOT of custom entries in my HOSTS file, including a lot to get rid of ads, but in the past couple of days I've noticed I am seeing ads again, so I looked in my HOSTS file, and the only entries are for localhost and Unchecky, as much as I liked it, and it seems to work, if it's destroying my HOSTS file, I have no choice but to uninstall it!!


There isn't a backup of the HOSTS file at all, and I'm not sure I have a recent one myself, I hope you don't just dismiss this like the other guys, and actually have a look, obviously it's a REAL BUG, and causing REAL PROBLEMS, could you at the least attempt to work out why, rather than just dismiss it because of "a lack of feedback", not that I can think of what else could be added. If you need I can include a copy of the hosts file since it's now very short ...

Respuesta

Respuesta
En revisión

Thank you for the detailed report, it does sound like a real issue.

As explained in the other thread, Unchecky uses special comment markers to mark the beginning and the end of the block that it added. We tested the mechanism extensively, and found that it works very well.

One issue that I can think of is that your hosts file is being managed by some other program, which reordered the comment blocks of Unchecky. Is that the case?


One possible way to remedy similar problems in the future is to backup the hosts file before modifying it. We will consider it for the future versions of Unchecky.

Respuesta
En revisión

Thank you for the detailed report, it does sound like a real issue.

As explained in the other thread, Unchecky uses special comment markers to mark the beginning and the end of the block that it added. We tested the mechanism extensively, and found that it works very well.

One issue that I can think of is that your hosts file is being managed by some other program, which reordered the comment blocks of Unchecky. Is that the case?


One possible way to remedy similar problems in the future is to backup the hosts file before modifying it. We will consider it for the future versions of Unchecky.

HOSTS overwritten 2020-05-08 04:57

backup overwritten 2020-05-08 04:02