michaelsanford
Translator, Web Developer
I use a dynamic DNS client (no-ip.com).
Is it possible to add a line to /etc/hosts like:
The idea behind this is to prevent an outgoing WAN connection if I enter my no-ip.com aliased hostname locally (web browser, terminal, etc) to save speed and bandwidth.
I know I can just substitute 127.0.0.1/localhost in most instances, but that requires updating (or keeping multiple copies of) some scripts that use absolute hostnames.
I'm only asking because I could try this, but not notice any difference, so I might not know if it's actually doing anything
Is it possible to add a line to /etc/hosts like:
Code:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
[b]amras.no-ip.com localhost[/b]
The idea behind this is to prevent an outgoing WAN connection if I enter my no-ip.com aliased hostname locally (web browser, terminal, etc) to save speed and bandwidth.
I know I can just substitute 127.0.0.1/localhost in most instances, but that requires updating (or keeping multiple copies of) some scripts that use absolute hostnames.
I'm only asking because I could try this, but not notice any difference, so I might not know if it's actually doing anything