From the course: Red Hat Enterprise Linux 8 Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

About BIND zone files

About BIND zone files

From the course: Red Hat Enterprise Linux 8 Essential Training

Start my 1-month free trial

About BIND zone files

- [Lecturer] Now that we've looked at the BIND configuration let's take a look at a zone file and analyze it. Type in sudo less /var/named/named.localhost into a terminal A zone file contains directives and resource records, the directives control how the DNS server operates and how to apply settings to the zone, the resource records apply an identity to the domain. To differentiate between directives and resource records you should know that directives start with a $ sign. We can see in this file that we have $TTL as an example directive followed by its option. For resource records we have an NS or name server record. An A record for an IP version 4 address and a AAAA record for an IP version 6 address. The name of this file is named.localhost so that name is resolved to 127.0.0.1 if we're using IP version 4. We could also have a CNAME record or ALIAS, an MX record for mail exchange or a PTR record which is a pointer to a different location in the namespace. PTR records are used for…

Contents