Error like "dns_master_load: zones/example.com.zone:38: host.example.com: CNAME and other data" is seen on named.run after starting or reloading named

Solution Verified - Updated -

Issue

  • The below logs are seen on named.run:
$ grep "example.com" named.run
dns_master_load: zones/example.com.zone:38: host.example.com: CNAME and other data
zone example.com/IN: loading from master file zones/example.com.zone failed: CNAME and other data
zone example.com/IN: not loaded due to errors.

Environment

  • Red Hat Enterprise Linux (all versions)
  • bind

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content