A while ago I set reddit.com to 127.0.0.1 in my hosts, because it was way too much of a time sink. I don't remember exactly how I set it - I know I had some trouble with it and tried a few different things before I found the "right" method, so I might have done something weird.
Now, no matter what I do, I can't un-set it or set it to something else - it's somehow "stuck" on 127.0.0.1.
$ sudo nano /etc/hosts Password:
I add these two lines:
18.104.22.168 reddit.com 22.214.171.124 reddit2.com
Save, exit, then:
$ dscacheutil -flushcache $ ping reddit.com PING reddit.com (127.0.0.1): 56 data bytes $ ping reddit2.com PING reddit2.com (126.96.36.199): 56 data bytes
Same thing if I don't specify reddit.com at all.
What am I missing?? I don't have any other entry for reddit.com in my hosts file. It's not a router or ISP issue - other computers on the same router are fine. Where else could it be defined?
For the sake of completeness, I cleaned everything out of my hosts, and it contains only the following:
## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost