Control: found -1 5.24.1~rc3-3
On 2006-07-14 22:58:30 +0200, markus koller wrote:
> I was able to solve my problem by putting only the hostname in
> /etc/hostname (just 'snafu' instead of 'snafu.selfip.org').
> hostfqdn() now returns the correct domain.
>
> A little googling revealed that
I was able to solve my problem by putting only the hostname in /etc/hostname
(just 'snafu' instead of 'snafu.selfip.org'). hostfqdn() now returns the correct
domain.
A little googling revealed that there's no clear rule whether /etc/hostname
should
contain only the short name or the FQDN, so I
Package: perl-modules
Version: 5.8.8-6
Followup-For: Bug #319946
This seems to really be a bug with Net::Domain, I experience a similar
problem after upgrading to a 2.6.17 kernel, strangely it worked fine
with 2.6.16 (I noticed because munin stopped updating the graphs).
$ perl -e 'use
I didn't try hostname -d and dnsdomainname. To summarize, with
these results:
ay:~ hostname --fqdn
ay.vinc17.org
ay:~ hostname -s
ay
ay:~ hostname -d
vinc17.org
ay:~ dnsdomainname
vinc17.org
But
ay:~ perl -e 'use Net::Domain qw(hostfqdn); print hostfqdn().\n'
ay.local
It is clear that
Package: perl-modules
Version: 5.8.7-3
Severity: normal
All the following methods agree with each other:
ay:~ hostname
ay.vinc17.org
ay:~ uname -n
ay.vinc17.org
ay:~ perl -e 'use Sys::Hostname; print hostname().\n'
ay.vinc17.org
But...
ay:~ perl -e 'use Net::Domain qw(hostfqdn); print
5 matches
Mail list logo