Bug#319946: perl-modules: Net::Domain::hostfqdn() returns an incorrect FQDN

2016-09-30 Thread Vincent Lefevre
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

Bug#319946: perl-modules: Net::Domain::hostfqdn() returns an incorrect FQDN

2006-07-14 Thread markus koller
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

Bug#319946: perl-modules: Net::Domain::hostfqdn() returns an incorrect FQDN

2006-07-13 Thread toupeira
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

Bug#319946: perl-modules: Net::Domain::hostfqdn() returns an incorrect FQDN

2005-10-31 Thread Vincent Lefevre
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

Bug#319946: perl-modules: Net::Domain::hostfqdn() returns an incorrect FQDN

2005-07-25 Thread Vincent Lefevre
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