Which type of DNS server data file includes information about hostnames and IP addresses?

Study for the SANS560 GIAC Penetration Tester (GPEN) Test. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Multiple Choice

Which type of DNS server data file includes information about hostnames and IP addresses?

Explanation:
In DNS, the authoritative mappings for a domain are stored in a zone file. A zone file contains resource records such as A records that map hostnames to IP addresses (and other records like AAAA for IPv6, CNAME, MX, etc.). This is the file the DNS server uses to answer queries for that zone, making it the official repository for host-to-IP mappings within that domain. The hosts file is a local, non-DNS file used by individual systems to override name resolution, not the DNS server’s data store. Resource records are the individual entries inside a zone file, not the file type itself. Cache files hold temporary resolution results on resolvers, not authoritative mappings.

In DNS, the authoritative mappings for a domain are stored in a zone file. A zone file contains resource records such as A records that map hostnames to IP addresses (and other records like AAAA for IPv6, CNAME, MX, etc.). This is the file the DNS server uses to answer queries for that zone, making it the official repository for host-to-IP mappings within that domain.

The hosts file is a local, non-DNS file used by individual systems to override name resolution, not the DNS server’s data store. Resource records are the individual entries inside a zone file, not the file type itself. Cache files hold temporary resolution results on resolvers, not authoritative mappings.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy