I've noticed even when I type "hostname" at the CLI the FQDN is displayed, however the only file that seems to be using the short name is /var/log/messages. I'd prefer it to use the FQDN however I can't seem to figure out how to do this.

link|improve this question
feedback

2 Answers

syslog-ng supports the following option :

use-fqdn(yes);

link|improve this answer
feedback

What do you have in your /etc/hostname ??

Try changing it and run

hostname -F /etc/hostname

Additionally you can try adding only a FQHN reference in your /etc/hosts:

YOURIP      your_host.yourdomain.tld
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.