experchange > mac.system

David (01-14-20, 10:40 AM)
This article "How to Reset/Restore Hosts file to its Original"



Explains that one should see the following in one's Hosts file:-

##
# Host Database
#
#
# localhost is used to configure the lookback 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

-----------------------------------------------------------------

My own iMac shows the following (similar but not identical):-

##
# 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

__________________________________________________ _______________

I've read at the link below but am still a little uncertain as to why MY
"fe80::1%lo0 localhost" is missing! <puzzle>



(I did spot the spelling error "lookback"!)

My question is, SHOULD I reinstate the missing line and space or simply
leave things as they are?

Advice will be much appreciated.

Thanks.
Bob Campbell (01-14-20, 09:17 PM)
On 1/14/20 3:40 AM, David wrote:
> This article "How to Reset/Restore Hosts file to its Original"
>


Why are you SO obsessed by things you clearly don't understand?
David (01-14-20, 09:32 PM)
On 14/01/2020 19:17, Bob Campbell wrote:
> On 1/14/20 3:40 AM, David wrote:
>> This article "How to Reset/Restore Hosts file to its Original"
>>

> Why are you SO obsessed by things you clearly don't understand?


Throughout my long and interesting life I have ALWAYS questioned things
which I do not understand. It is by far the best way of learning.

I have asked a simple and straightforward question. If you don't have
the knowledge to answer the question, there was no need for you to post.
jeremy (01-14-20, 09:44 PM)
In article <cHoTF.4940$MZ3.4527>, David says...

> there was no need for you to post


Just repeat that to yourself in the mirror whenever you feel the urge to
post to usenet - as that will ultimately be how you feel in retrospect
every time.
Snit (01-14-20, 09:50 PM)
On 1/14/20 12:44 PM, jeremy wrote:
> In article <cHoTF.4940$MZ3.4527>, David says...
>> there was no need for you to post

> Just repeat that to yourself in the mirror whenever you feel the urge to
> post to usenet - as that will ultimately be how you feel in retrospect
> every time.


A likely Carroll sock... he has used this name for years, ever since I
noted I talked to a salesperson with this name. His obsession with my
life is really over the top.
David (01-14-20, 10:42 PM)
On 14/01/2020 19:50, Snit wrote:
> On 1/14/20 12:44 PM, jeremy wrote:
> A likely Carroll sock... he has used this name for years, ever since I
> noted I talked to a salesperson with this name. His obsession with my
> life is really over the top.


That really is so very sad. My condolences, Snit.

Do *YOU* know the answer to my question?
Snit (01-14-20, 10:48 PM)
On 1/14/20 1:42 PM, David wrote:
> On 14/01/2020 19:50, Snit wrote:
> That really is so very sad. My condolences, Snit.
> Do *YOU* know the answer to my question?

If you have it backed up you can, of course, copy it over. Keep in mind
there are backup tools like Time Machine which will have older copies.

If not you would need to find what the original is... I do not think any
OS has a "restore" feature for just that.
David (01-14-20, 11:07 PM)
On 14/01/2020 20:48, Snit wrote:
> On 1/14/20 1:42 PM, David wrote:
> If you have it backed up you can, of course, copy it over. Keep in mind
> there are backup tools like Time Machine which will have older copies.
> If not you would need to find what the original is... I do not think any
> OS has a "restore" feature for just that.


Please will you READ my posts before answering? ;-) I started with ...

This article "How to Reset/Restore Hosts file to its Original"



*Please show me what you see in YOUR Hosts file*.

"From the Finder, navigate to Go → Go to Folder
Type this in the Go to Folder window: /private/etc/hosts"

Then double-click the folder and copy and paste what you see here please.
Snit (01-14-20, 11:12 PM)
On 1/14/20 2:07 PM, David wrote:
> On 14/01/2020 20:48, Snit wrote:
> Please will you READ my posts before answering? ;-) I started with ...
> This article "How to Reset/Restore Hosts file to its Original"
>
> *Please show me what you see in YOUR Hosts file*.
> "From the Finder, navigate to Go → Go to Folder
> Type this in the Go to Folder window: /private/etc/hosts"
> Then double-click the folder and copy and paste what you see here please.


I am not certain mine is unchanged... but this is what I have:

-------
##
# 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
-------
David (01-14-20, 11:37 PM)
On 14/01/2020 21:12, Snit wrote:
[..]
> 255.255.255.255    broadcasthost
> ::1             localhost
> -------


*THANK YOU*! :-)

That appears to be identical to that which I have.

Anyone else see anything different on their machine?
JF Mezei (01-15-20, 12:50 AM)
This is what my high sierra /etc/hosts looks like:

##
# 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 pixel.adsafeprotected.com

And this is what it looks like on my Snow Leopard server:
##
# 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

I have to assume that at some point in time I added that pixel entry to
block certain ads. Will have to look back to see if it is still needed.
I recall some web sites being terribly slow to load and blocking ads
that were causing me problems.
David (01-15-20, 01:13 AM)
On 14/01/2020 22:50, JF Mezei wrote:
[..]
> block certain ads. Will have to look back to see if it is still needed.
> I recall some web sites being terribly slow to load and blocking ads
> that were causing me problems.


Thank you for your contribution, John.

As I'm sure you will have noticed, the principal difference between
yours and mine is the entry ...

fe80::1%lo0 localhost
JF Mezei (01-15-20, 01:29 AM)
On 2020-01-14 18:13, David wrote:

> So, the question now is should I add "fe80::1%lo0 localhost"
> to MY Hosts files?


yes. It is the IPV6 equivalent to the IPv4 127.0.0.1

So yes, you should add it. It allows loopback when app is using IPv6

fe80: means local interface (aka: packet doesn' go out the ethernet
port) and the ::1 points to this host on that interface.

the %lo0 is a zone identified and not widely used on the DNS system.
Jaimie Vandenbergh (01-15-20, 01:37 AM)
On 14 Jan 2020 at 23:29:39 GMT, "JF Mezei" <jfmezei.spamnot>
wrote:

> On 2020-01-14 18:13, David wrote:
> yes. It is the IPV6 equivalent to the IPv4 127.0.0.1
> So yes, you should add it. It allows loopback when app is using IPv6
> fe80: means local interface (aka: packet doesn' go out the ethernet
> port) and the ::1 points to this host on that interface.
> the %lo0 is a zone identified and not widely used on the DNS system.


I should point out for David's benefit that if he doesn't understand this, of
course he shouldn't put it in his hosts file. That way lies malware and
danger.

Perhaps learning how DNS works - or at least the truly fascinating ways that
it can be abused for malware purposes - will keep him busy and stop him
shitposting quite so much.

Cheers - Jaimie
nospam (01-15-20, 01:51 AM)
In article <4503826059>, Jaimie
Vandenbergh <jaimie> wrote:

> I should point out for David's benefit that if he doesn't understand this, of
> course he shouldn't put it in his hosts file. That way lies malware and
> danger.
> Perhaps learning how DNS works - or at least the truly fascinating ways that
> it can be abused for malware purposes - will keep him busy and stop him
> shitposting quite so much.


it won't.

Similar Threads