I use a program in Windows called "HostsMan" about every 6 months to import multiple lists, sort, delete comments, and edit. I then boot into my linux distro and copy into my /etc/hosts file, keeping the default bit at the top. Localhost is 127.0.0.1. If I need to update, since I'm always editing the file in linux to add sites, I copy to my Windows hosts file and run HostMan to update the lists, then copy back to linux.