localhost entries missing on OS X
See original GitHub issueOn OS X, the localhost definition at the top of /etc/hosts is a bit more verbose:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
In the generated hosts file, the broadcasthost (see this) and the second IPv6 are missing:
127.0.0.1 localhost
::1 localhost
Issue Analytics
- State:
- Created 8 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Why is my mac's host file missing the fe80::1%lo0 localhost ...
That entry which you claim is missing is not a standard line of the macOS /etc/hosts file. It should not be expected to...
Read more >Hosts file missing on Mac OS X - Xcode Failing to compile code
You have broken your system by making inappropriate changes. First, you need to fix the permissions on /etc/sudoers.
Read more >/private/etc/hosts file entries not funct… - Apple Community
/private/etc/hosts file entries not functioning as expected After each command I cleared browser cache for each Safari, Firefox, and Chrome. ...
Read more >OS X 10.10.1 /etc/hosts & /private/etc/hosts file is being ...
In order to fix the problem I was having, I had to ADD IPv6 style hosts file entries. It seems that Safari will...
Read more >Messed Up Hosts? How to Restore the Original Default /etc ...
The Original, unmodified hosts file in Mac OS X is easy to restore if need ... Do not change this entry. ## 127.0.0.1...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is fixed in commit ab12924 on Feb 19 2016.
Closing.
See my comment on #87, I believe the correct approach is to leave the default OS config untouched, and only expand it further. If anything is to be changed leave it to the local admin; a tool shouldn’t be opinionated and change system configuration beyond its scope (which in this case is malware/ad blocking, and those entries above have zero to do with that).