Sendmail is unable to qualify my own domain name (Doc ID 1011800.1)

Last updated on AUGUST 01, 2016

Applies to:

Solaris Operating System - Version 8 6/00 U1 to 11.1 [Release 8.0 to 11.0]
All Platforms

Symptoms

The following error message:

Apr 13 18:13:57 hostname sendmail[315]: unable to qualify my own domain name (hostname.) -- using short name



or the message:

Cannot qualify own hostname.

Changes

This most typically seen after a new installation of Oracle Solaris.  In the file /etc/nsswitch.conf the "files" source was being used first for hostname lookups:

hosts: files nis dns

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms