1

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.

2 Answers 2

3

syslog-ng supports the following option :

use-fqdn(yes);

1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .