I wanted to suggest a patch to lib/Sys/Hostname.pm that removes
".foo.rome.de" on the machine in question. E.g.
*** Sys/Hostname.pm.5.001m Tue Aug 15 17:23:48 1995
--- Sys/Hostname.pm Tue Aug 15 17:24:05 1995
***************
*** 47,52 ****
--- 47,53 ----
# remove garbage
$host =~ tr/\0\r\n//d;
+ $host =~ s/\..*//;
$host;
}
Good idea to remove leading dots beforehand, though.
why ? if my host name if 'foo.bar.baz', then, 'foo.bar.baz' is
my hostname. if it is just 'foo', then, my hostname is 'foo'.
.mrg.
".foo.rome.de" on the machine in question. E.g.
*** Sys/Hostname.pm.5.001m Tue Aug 15 17:23:48 1995
--- Sys/Hostname.pm Tue Aug 15 17:24:05 1995
***************
*** 47,52 ****
--- 47,53 ----
# remove garbage
$host =~ tr/\0\r\n//d;
+ $host =~ s/\..*//;
$host;
}
Good idea to remove leading dots beforehand, though.
why ? if my host name if 'foo.bar.baz', then, 'foo.bar.baz' is
my hostname. if it is just 'foo', then, my hostname is 'foo'.
.mrg.