202-450 practice question 21 of 25

In a BIND zone file, what does the @ character indicate?

Full set: 119 questions
Answer options
A: It’s the fully qualified host name of the DNS server
B: It’s an alias for the e-mail address of the zone master
C: It’s the name of the zone as defined in the zone statement in named.conf Correct answer
D: It’s used to create an alias between two CNAME entries
Correct Answer:
C. It’s the name of the zone as defined in the zone statement in named.conf
Explanation

In a BIND zone file, the at-sign (@) is a special character that acts as a placeholder for the current origin. The origin is typically the domain name of the zone itself, as specified in the corresponding zone statement within the named.conf configuration file. For example, in the zone file for example.com, the @ symbol is shorthand for example.com.. This is commonly used in the Start of Authority (SOA) record and for other records that apply to the zone's root domain, such as MX or A records.

Why Incorrect

A. The @ represents the zone name, which might not be the FQDN of the DNS server itself; the server's name is specified in the NS record.
B. The email address in the SOA record has its own @ replaced by a dot (.) to avoid ambiguity; the zone file @ is for the domain.
D. The @ symbol is not used for aliasing CNAME entries; it represents the origin domain name in any record type.

References

1. Internet Systems Consortium. (2023). BIND 9.18.24 Administrator Reference Manual. Chapter 6: Zone Files. "The at-sign (@) is used to denote the current origin. If a zone file contains no $ORIGIN directive, the origin is the name of the zone taken from the named.conf file."

2. Albitz, P., & Liu, C. (2006). DNS and BIND (5th ed.). O'Reilly Media. Chapter 4: Setting Up BIND, Section: "The Zone Data Files". "The @ sign is a special character that stands for the origin."

Scroll to Top