Unable to start named-chroot: has no address records, bad zone

Created:

2016-11-16 13:09:20 UTC

Modified:

2017-08-16 18:31:30 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Unable to start named-chroot: has no address records, bad zone

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux

Symptoms

Unable to start named-chroot service on CentOS 7. The following error can be found in journalctl or in /var/log/messages :

named-checkconf[39493]: zone example.com/IN: has no NS records
named-checkconf[39493]: zone example.com/IN: not loaded due to errors.
named-checkconf[39493]: _default/example.com/IN: bad zone

or:

named-checkconf[39493]: zone example.com/IN: NS 'ns.example.com' has no address records (A or AAAA)

Cause

Missing NS record for a domain.

Resolution

Add required NS or A record in Plesk > Domains > example.com > DNS Settings or manually add in /var/named/chroot/var/example.com :

example.com.           IN NS   ns1.example.com.
example.com. IN NS ns2.example.com.

Or:

ns1.example.com.            IN A       203.0.113.2
ns2.example.com.            IN A       203.0.113.2 

Note: This is just an example. Correct NS servers should be provided for an affected domain.

If it is required to adjust DNS for multiple domains, it is better to add missing entry to DNS Template in Tools and Settings > DNS Template and click on Apply DNS Template

Have more questions? Submit a request
Please sign in to leave a comment.