Nginx only sends hostname to syslog.

Maxim Dounin mdounin at mdounin.ru
Wed Feb 8 12:28:34 UTC 2017


Hello!

On Wed, Feb 08, 2017 at 09:05:19AM +0100, B.R. via nginx wrote:

> From what I read
> <https://www.gnu.org/software/libc/manual/html_node/Host-Identification.html>,
> 'host name' aka name of the host is a FQDN in the hostname.domain format (
> domain being able to have n level-s).

Just quoting the link above:

: Function: int gethostname (char *name, size_t size)
...
: If the system participates in the DNS, this is the FQDN (see 
: above).

-- 
Maxim Dounin
http://nginx.org/


More information about the nginx mailing list