hosts file with multiple entries crashes browsers
127.0.0.1 www.whatever.com
111.1.1.1 www.whatever.com
127.0.0.1 www.whatever.com
The 111.1.1.1
in the second开发者_运维问答 line can be any non-127.0.0.1-address.
Under Windows XP, Firefox/Chrome.
Why is it that this configuration will crash a browser?
Without reference to any specific operating system or browser environment, it seems reasonable to assume that it's not valid to have multiple entries for the same IP spanning multiple lines in your particular environment.
精彩评论