1 |
My home server is 192.168.1.5 in my home wan, the hostname of the machine |
2 |
is "fandango", and the the /etc/hosts in my laptop looks like this: |
3 |
|
4 |
[...] |
5 |
192.168.1.5 fandango |
6 |
|
7 |
Sometimes I need to connect to the server while I'm far from home, so the |
8 |
server has also a dyndns address, let's say "fandango.dyndns.org". |
9 |
|
10 |
When I connect from outside my wan I use "fandango.dyndns.org", when I'm at |
11 |
home just "fandango". |
12 |
|
13 |
Is there a way to tell my laptop to always use "fandango" and, |
14 |
if "192.168.1.5" is available, to resolve it this way, otherwise to resolve |
15 |
it as "fandango.dyndns.org". |
16 |
|
17 |
This way I will avoid double configurations, double password stored in |
18 |
firefox, ecc... |
19 |
|
20 |
Any ideas? |
21 |
|
22 |
|
23 |
======================================== |
24 |
MOMESSO ANDREA |
25 |
Jabber topper_harley@××××××.org |
26 |
======================================== |