The title speaks for itself.
I'm unable to create a push request for this right now. Which is why I'm making a ticket for it.
Extract from README:
For example, to nullify requests to some doubleclick.net servers, adding these lines to your hosts
file will do it:
# block doubleClick's servers
127.0.0.1 ad.ae.doubleclick.net
127.0.0.1 ad.ar.doubleclick.net
127.0.0.1 ad.at.doubleclick.net
127.0.0.1 ad.au.doubleclick.net
127.0.0.1 ad.be.doubleclick.net
# etc...
0.0.0.0 instead of 127.0.0.1?Using 0.0.0.0 is faster because you don't have to wait for a timeout. It also does not interfere
with a web server that may be running on the local PC.
EDIT: I just noticed there's a pull request for this: #66
Hi @TheGroundZero thanks for posting this issue.
This is intentional.
One of the hurdles for this repo is to educate folks about hosts files. In almost all cases, 127.0.0.1 is used elsewhere in hosts files, documentation, and related tutorials. I don't want to muddle that.
We use 0.0.0.0 here as an incremental refinement on 127.0.0.1 since, on some OS, 0.0.0.0 resolves quicker because it doesn't time out.
Presenting 0.0.0.0 as an incremental refinement seems to be working so far.
But I'm open to be convinced otherwise :-)
Perhaps change the bold line to "We recommend using 0.0.0.0 instead of 127.0.0.1"
That makes it clear that it is an intentional difference, instead of what looks like a mistake in the example.
I confirm it looks as documentation bug. All examples are written with 127.0.0.1 and then there's a bold title _Why use 0.0.0.0 instead of 127.0.0.1_, this hardly makes sense to reader.
Most helpful comment
Hi @TheGroundZero thanks for posting this issue.
This is intentional.
One of the hurdles for this repo is to educate folks about hosts files. In almost all cases, 127.0.0.1 is used elsewhere in hosts files, documentation, and related tutorials. I don't want to muddle that.
We use 0.0.0.0 here as an incremental refinement on 127.0.0.1 since, on some OS, 0.0.0.0 resolves quicker because it doesn't time out.
Presenting 0.0.0.0 as an incremental refinement seems to be working so far.
But I'm open to be convinced otherwise :-)