NT has a hosts file, they just stuck it somewhere in system32.
Had to stick reddit and hackernews in there on my work PC long ago.
A better solution for me is a chrome extension that blocks it for 20 minutes at a time. Long enough to make decent progress and get started on work, but no so long that I resent it and give up.
NT has a hosts file, they just stuck it somewhere in system32.