On Thu, 22 May 2014, steve wrote:
/etc/hostname has to contain the fqdn, not the hostname. So now,
hostname
is wrong
but
hostname -s
and
hostname -f
return correctly.
More importantly, the ddns updates go fine.
However, I'm sure that'll break something else somewhere else down the line.
What is also worrying is that even with a non-updated DNS, we could
still log in, reach the file server, get tickets etc.
This is only on Ubuntu 14.04. openSUSE works fine with the short
hostname in /etc/hostname.
Any comments?
shorthostname in /etc/hosts as the primary is wrong. fqdn should be first
entry, followed by aliases.
hostname returning fqdn is correct behaviour.
jh
--
John Hodrien
Specialist IT and Unix, IT
Faculty of Engineering
0113 3435471
9.26 EC Stoner