课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
今天就学习课程吧!
今天就开通帐号,24,700 门业界名师课程任您挑!
About BIND zone files - Red Hat Enterprise Linux教程
课程: Linux System Engineer: Web Servers and DNS Using Apache, NGINX, and BIND
About BIND zone files
- [Narrator] Now that we've looked at the bind configuration let's take a look at a zone file and analyze it. Type in sudo space less space slash var slash named slash named dot 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 dollar sign. We can see in this file that we have dollar sign TTL as an example directive followed by its option. For resource records, we have NS, or a name server record, an A record for an IP version 4 address, and a quadruple A record for an IP version 6 address. The name of this file is named dot localhost, so that name is resolved to 127 dot 0 dot 0 dot 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…
随堂练习,边学边练
下载课堂讲义。学练结合,紧跟进度,轻松巩固知识。