Plesk installation warning: Some problems are found during create reverse DNS zone

Created:

2016-12-12 03:43:04 UTC

Modified:

2017-08-08 13:16:19 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Plesk installation warning: Some problems are found during create reverse DNS zone

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux

Symptoms

The following warning was shown during Plesk Onyx installation:

WARNING!
Some problems are found during create reverse DNS zone - there is error during utility '/opt/psa/admin/sbin/mk_reverse_zone' execution, please fix the problem and run it again.(see log file: /var/log/plesk/install/plesk_17.0.17_installation.log)

Plesk installation may be failed with the following error:

Trying to create reverse DNS zone: /opt/psa/admin/sbin/mk_reverse_zone[8171]: 
Canonname is not correct fqdn.
It is impossible to detect the FQDN of the host.
Please make sure that the host name is correctly specified in /etc/hosts and goes right after the host's IP Address.
Depending on your OS, you might need to set the host name in /etc/HOSTNAME or /etc/hostname.
Terminate called after throwing an instance of 'std::runtime_error'
what(): Error on configure reverse DNS zone for localhost : fail to detect hostname

Server hostname is as follows:

# hostname
example

or:

# hostname
localhost.localdomain

Cause

Hostname of the server is not a FQDN name: it is 'example' or 'localhost.localdomain' instead of 'example.com'

A fully qualified domain name (FQDN), sometimes also referred to as an absolute domain name, is a domain name that specifies its exact location in the tree hierarchy of the Domain Name System (DNS).

Resolution

1. Connect to the server using SSH.

2. Change the server's hostname to FQDN one:

# hostname example.com
Have more questions? Submit a request
Please sign in to leave a comment.