host.conf(5) File Formats Manual host.conf(5) (NAME) host.conf - (Resolver) (DESCRIPTION) /etc/host.conf (resolver) . . : trim . (':') (';') (',') . DNS . . ( : trim NIS hosts(5) . hosts (fully qualified) (unqualified) .) multi on off. on /etc/hosts . off hosts . reorder on off. on gethostbyname(3) ( ) . . off . (ENVIRONMENT) /etc/host.conf : RESOLV_HOST_CONF /etc/host.conf . RESOLV_MULTI multi . RESOLV_REORDER reorder . RESOLV_ADD_TRIM_DOMAINS (':') (';') (',') (trim) . RESOLV_OVERRIDE_TRIM_DOMAINS (':') (';') (',') (trim) . trim . (FILES) /etc/host.conf /etc/resolv.conf /etc/hosts (NOTES) . spoof RESOLV_SPOOF_CHECK off nowarn warn . . (Historical) nsswitch.conf(5) . glibc 2.4 : order . . bind hosts nis. RESOLV_SERV_ORDER order . glibc 2.0.7 glibc 2.24 : nospoof on off. on rlogin rsh (hostname spoofing) . : . . off . spoofalert on off. on nospoof syslog . off . spoof off nowarn warn. off syslog . warn syslog . nowarn syslog . nowarn . RESOLV_SPOOF_CHECK nospoof spoofalert spoof spoof . off nowarn warn. (SEE ALSO) gethostbyname(3), hosts(5), nsswitch.conf(5), resolv.conf(5), hostname(7), named(8) Linux man-pages 6.19 2026-02-08 host.conf(5)