Hosts file content

Joined
Mar 17, 2011
Messages
2
Reaction score
0
Points
1
Hello,

I have a MacBook Pro running OS 10.5.8. My question is about the default content of the hosts file. Currently, this is what is in mine:

127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost

Lines 2 (broadcasthost) and 4 (fe80..) strike me as odd. Will someone please explain these lines to me? I would think I'd only have 'localhost' lines and even with the last one, it looks like it's referring to ::1 as a variable in the midst of the other mumbojumbo that looks suspicious to me. Thanks in advance.

Jeff
 
Joined
Dec 21, 2007
Messages
45
Reaction score
2
Points
8
Location
NE Ohio
Your Mac's Specs
27" iMac, 17" MacBook Pro, 13" MacBook, iPhone 3G, iPhone 4, AppleTV2 (x2), iPad1
IP v6 perhaps?
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
That's what my hosts file says.

::1 is the IPv6 equivalent of 127.0.0.1 in IPv4 (source). fe80:: is "a link local address" in IPv6 (source).
 
OP
J
Joined
Mar 17, 2011
Messages
2
Reaction score
0
Points
1
Thank you for the replies so far. I'm beginning to think the contents of the file have not been modified by an outside party, which is part of the reason I posted this topic in the first place.

There was a retail site I was trying to browse but I couldn't get to some pages due to a slew of ad programs "transferring data from..." when a given page was trying to load. I thought perhaps something made it to my computer that was allowing such interference to happen. The hosts file came to mind, but I really don't know much about it.

If anyone has an additional thoughts on the hosts file contents I posted or any tips to deal with the surfing experience I described above, please reply. Thanks again.

Jeff
 

vansmith

Senior Member
Joined
Oct 19, 2008
Messages
19,924
Reaction score
559
Points
113
Location
Queensland
Your Mac's Specs
Mini (2014, 2018, 2020), MBA (2020), iPad Pro (2018), iPhone 13 Pro Max, Watch (S6)
If the site you were visiting is reputable, don't worry about the ads. Although they may be annoying, they won't be malicious.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top