A zone file contains the following lines:
$ORIGIN example.com host2.example.org. IN A 198.51.100.102
and is included in the BIND configuration using this configuration stanza:
zone "example.com" {
type master;
file "db.example.com";
};
Which problem is contained in this configuration?
A. The zone statement is the BIND configuration must contain the cross-zone-data yes; statement.
B. The zone cannon contain records for a name which is outside the zone's hierarchy.
C. The $ORIGIN declaration cannot be used in zone files that are included for a specific zone name in the BIND configuration.
D. An A record cannot contain an IPv4 address because its value is supposed to be a reverse DNS name.
E. Names of records in a zone file cannot be fully qualified domain names.
题解
注意这边的 DNS 资源记录设置,影响的网域名称为「host2.example.org」,而不是「host2.example.com」。因此答案是选项「B」。
