1. For DNS records added or updated through the DNS management platform, using rndc reload shows that the execution is successful, but it does not take effect.
2. After the BIND process is restarted, the service cannot be provided.
3, log error:
15-Feb-2017 12:04:38.604 general: error:dns_master_load: sdo.com/zone_beijing_CMCC:198: sdo.com: CNAME and other data 15-Feb-2017 12:04:38.604 general: error:zone sdo.com/IN/view_beijing_CMCC: loading from master filesdo.com/zone_beijing_CMCC failed: CNAME and other data 15-Feb-2017 12:04:38.604 general: error:zone sdo.com/IN/view_beijing_CMCC: not loaded due to errors.
Pay attention to this line "15-Feb-2017 12:04:38.604 general: error: dns_master_load:sdo.com/zone_beijing_CMCC:198: sdo.com: CNAME and other data" which prompts an error in line 198
After careful analysis, we can actually see that on line 194, it defines a CNAME RR (resource record), which leads to a conflict with line 198.
Solution:Remove the CNAME on line 194, or use an A record to point access to sdo.com to a certain server group.
Summarize:In BIND, after specifying CNAME for a resource record (RR), other types of RR cannot be specified.
The above is the detailed content of DNS resolution examples related to CNAME. For more information, please follow other related articles on the PHP Chinese website!