Sample DNS Configuration Files
The DNS resolver uses /etc/resolv.conf to determine the local subdomain, up to three name servers, and a search path (see Figure 2-2). The name server daemon named reads its configuration file /etc/ named.conf (or /etc/named.boot) to locate the directory (such as /var/ named) for the database files, as shown in Figure 2-4. Database files such as db.cache point to other name servers, as shown in Figure 2-5. The two main database record types are address and pointer. Address records contain the IP addresses of names in a subdomain (see Figure 2-6). Pointer records contain the names corresponding to IP addresses (see Figure 2-7).
Figure 2-2. /etc/resolv.conf.
The UNIX operating systems use the text file /etc/resolv.conf ... |
Get OpenView Network Node Manager: Designing and Implementing an Enterprise Solution now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.