I'm using OS X 10.8.5 and Chrome 30.
127.0.0.1 youtube.com to my
/etc/hosts file such that it now contains this:
# 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 127.0.0.1 youtube.com
When I run the command
traceroute youtube.com I receive the expected results (youtube.com is resolved to 127.0.0.1):
traceroute to youtube.com (127.0.0.1), 64 hops max, 52 byte packets 1 localhost (127.0.0.1) 0.272 ms 0.118 ms 0.063 ms
However, when I type youtube.com in Chrome, my browser doesn't establish a connection with 127.0.0.1 but instead with the "normal" IP address for YouTube. I would have expected Chrome to resolve youtube.com to 127.0.0.1.
I have Chrome configured to use my system's proxy settings. In OS X, when I go to System Preferences > Network > "Advanced..." > Proxies, I have selected "Auto Proxy Discovery".
Why is Chrome seemingly ignoring my