QuestionQ18

Domain Name Server

A zone file includes the following lines:

Question Image

It is included in the BIND configuration with this configuration stanza:

Question Image

What problem does this configuration contain?

  • 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.
Explanation

The example.com master zone cannot contain an authoritative record whose owner is host2.example.org. because that fully qualified name is outside the example.com zone hierarchy. $ORIGIN is valid in BIND zone files, and an A record validly maps a name to an IPv4 address. BIND’s zone-file documentation describes $ORIGIN handling and distinguishes the configured zone name from the names represented in its zone data.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!