Home > System Tutorial > LINUX > DNS resolution examples related to CNAME

DNS resolution examples related to CNAME

王林
Release: 2024-01-08 08:33:52
forward
716 people have browsed it
Fault phenomenon:

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.
Copy after login

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

DNS resolution examples related to CNAME

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!

source:linuxprobe.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template